Form Validation Individual Field Validation |
If you chain set_rules method with the run method you get exactly what you want.
PHP Code: if (! $this->form_validation->set_rules($field, $field, 'rules_here')->run()) { Btw, I don't think this is related to CI4?...
Best regards,
José Postiga Senior Backend Developer |
Messages In This Thread |
Form Validation Individual Field Validation - by ShoeLace1291 - 03-31-2016, 02:56 AM
RE: Form Validation Individual Field Validation - by josepostiga - 04-01-2016, 02:20 AM
RE: Form Validation Individual Field Validation - by ShoeLace1291 - 04-01-2016, 10:40 PM
RE: Form Validation Individual Field Validation - by josepostiga - 04-02-2016, 06:56 AM
|