Validation of Empty Fields

#7
[eluser]adamp1[/eluser]
I think there does need to be a rule which will only validate a field if a certain other field is already set. Im always finding I need it.
Code:
$rules['meal'] = "required[dinner]"

Something like that so meal is only required if dinner is set.


Messages In This Thread
Validation of Empty Fields - by El Forum - 03-28-2008, 06:50 PM
Validation of Empty Fields - by El Forum - 03-31-2008, 06:58 AM
Validation of Empty Fields - by El Forum - 03-31-2008, 07:24 AM
Validation of Empty Fields - by El Forum - 03-31-2008, 07:32 AM
Validation of Empty Fields - by El Forum - 03-31-2008, 07:42 AM
Validation of Empty Fields - by El Forum - 03-31-2008, 07:55 AM
Validation of Empty Fields - by El Forum - 03-31-2008, 08:24 AM
Validation of Empty Fields - by El Forum - 03-31-2008, 08:49 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.