This commit is contained in:
2025-07-03 11:49:18 +02:00
parent 4e88e4c571
commit 742c2b0160
10 changed files with 112 additions and 59 deletions

View File

@@ -28,10 +28,7 @@ class ContactController
]);
}
public function showConfirmation()
{
}
public function showConfirmation() {}
public function validateForm(){
foreach ($this->labels as $index => $value) {
@@ -41,7 +38,6 @@ class ContactController
$this->validData[$index] = $_POST[$index];
}
}
if (count($this->errors) > 0) {
$this->view->setDoMethodName("showContactForm");
$this->showContactForm();