form_validation.php in config and conditional validation rules |
Here's a snippet of one of my sets of validation rules (currently in the body of the controller).
PHP Code: $this->form_validation->set_rules('caseworker_contact', '<span>"Contact Case Worker"</span>', 'required'); It's that conditional rule that I am trying to figure out how to place in the config file. |
Welcome Guest, Not a member yet? Register Sign In |