Not receiving any validation error on view page |
My application runs on the latest version of CI, but somehow I am not getting any validation error on my view page.
view page code:- Code: <form method="POST" action="<?= site_url('service-providers'); ?>" accept-charset="UTF-8"> and this is the code of the controller PHP Code: public function attemptLogin() on the controller, I can print the error but on the view page, it is coming blank.
Learning Codeigniter
(04-14-2023, 02:10 AM)kenjis Wrote: Read https://codeigniter4.github.io/CodeIgnit...ion-errors I tried, but I am not getting my old input value as well as any errors, although I am using return redirect()->back()->withInput(); fixed it, thanks for the resource. this was helpful https://github.com/kenjis/ci4-validation.../form2.php
Learning Codeigniter
What was the issue?
|
Welcome Guest, Not a member yet? Register Sign In |