Validation errors visible on form load |
When using validation in a controller like so:
Code: public function login() { The official documentation also has validation errors on page load - https://codeigniter.com/user_guide/tutor...items.html as shown in this image My question is can validation errors be suppressed at least until the form is submitted?
If you don't want it to validate/run on $_GET request you can add "$this->request->getMethod() === 'get'".
PHP Code: public function create() |
Welcome Guest, Not a member yet? Register Sign In |