Welcome Guest, Not a member yet? Register   Sign In
Form validation and form_validation.php
#3

Using config/form_validation.php should only be done for sites that are expected to be super small. If the site isn't small, you'll quickly outgrow the single file. I made a dir in /config called "form_validation" and put my files in there. When I need it, I load it just like any other config file, and then add the rules with:


PHP Code:
$this->form_validation->set_rulesconfig_item('this_specific_set_of_rules') ); 
Reply


Messages In This Thread
RE: Form validation and form_validation.php - by skunkbad - 10-11-2017, 04:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB