Validation tutorial |
We are slowly getting closer
I found two typing errors and now it almost works with validation. When I call up the form for the first time, I shouldn't get any error messages via Code: <?= $validation->listErrors() ?> But the list of errors is displayed. If I continue to fill out a few fields, the form should still be "submitted", but I don't get to the success page (where I just want to get the $ _POST array printed). Where is my mistake? Here is my updated code: Controller: PHP Code: public function sitesettings() |
Messages In This Thread |
Validation tutorial - by Codinglander - 04-22-2020, 10:48 PM
RE: Validation tutorial - by Leo - 04-23-2020, 02:51 AM
RE: Validation tutorial - by Codinglander - 04-23-2020, 03:17 AM
RE: Validation tutorial - by jreklund - 04-23-2020, 11:31 AM
RE: Validation tutorial - by Codinglander - 04-23-2020, 07:49 PM
RE: Validation tutorial - by jreklund - 04-24-2020, 09:40 AM
RE: Validation tutorial - by Codinglander - 04-24-2020, 11:12 AM
RE: Validation tutorial - by jreklund - 04-24-2020, 11:21 AM
RE: Validation tutorial - by hugoafr - 07-01-2020, 01:57 PM
|