validation problem |
[eluser]Chris Newton[/eluser]
You could also set the validation rules to check a callback function before the form will validate. Of course, this assumes you're pulling data from a form, and not just using the validation class by itself. $rules['var'] = "required|min_length[5]|callback_variable_check"; Refer to the 'setting validation rules' of the documentation; http://ellislab.com/codeigniter/user-gui...ation.html |
Messages In This Thread |
validation problem - by El Forum - 01-10-2008, 02:36 AM
validation problem - by El Forum - 01-10-2008, 02:44 AM
validation problem - by El Forum - 01-10-2008, 02:50 AM
validation problem - by El Forum - 01-10-2008, 02:55 AM
validation problem - by El Forum - 01-10-2008, 05:12 AM
validation problem - by El Forum - 01-10-2008, 05:24 AM
validation problem - by El Forum - 01-10-2008, 05:32 AM
validation problem - by El Forum - 01-10-2008, 09:53 AM
|