Validation tutorial |
Hi there, I'm back
I have some Problems with the validation tutorial. I followed the steps for my own little project, but it doesn't work yet. Here my code: BaseController (part): PHP Code: public function initController(\CodeIgniter\HTTP\RequestInterface $request, \CodeIgniter\HTTP\ResponseInterface $response, \Psr\Log\LoggerInterface $logger) Controller with validation (part): PHP Code: public function sitesettings() The Form (part) : Code: <div class="col-sm-12"> I set up the rules WITHOUT any "required" rule, so it should pass if only one field is filled up. In the debugbar the $_POST array ist correctly filled out, but the form everytime is still reloaded instead of showing my success-screen. Where is my issue ?!? |
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
|