callback function in codeigniter form validation example

Check the Validation Result Open the favorite browser and run the Codeigniter project. Lets create a Forms controller and put basic code. How to integrate zend library in codeigniter 2? In your controller (form.php), add this code just below the validation initialization function: $this->form_validation->set_rules ('username', 'Username', 'required'); $this->form_validation->set_rules ('password', 'Password', 'required'); $this->form_validation->set_rules ('passconf', 'Password Confirmation', 'required'); To use these functions it is needed to load a form helper library. (adsbygoogle = window.adsbygoogle || []).push({}); Stay up to date with all WDB24.com activities, '

callback function in codeigniter form validation example