CodeIgniter Form Validation - How to get all error fields as an array
CodeIgniter Form Validation - How to get all error fields as an array #codeigniter #form #validation
CodeIgniter by default is not providing you the error fields for a form as an array. To add this feature to your codeigniter form_valiation library, you have to extend the system library and overload as form_validation library.
Create the file: application/libraries/My_Form_validation.php file and add the following code:
class MY_Form_validation extends CI_Form_validation { public function…
View On WordPress













