form validation on dropdown |
[eluser]Krzemo[/eluser]
What values you have for options? Numbers? Text? If numbers use i.e. value="0" for "please select..." option and in rules put 'required|is_natural_no_zero'. If texts make "please select..." value="" and rule 'required' should work. If none of those two apply - write your own callback (http://ellislab.com/codeigniter/user-gui...#callbacks) Regs K |
Messages In This Thread |
form validation on dropdown - by El Forum - 03-17-2010, 12:01 PM
form validation on dropdown - by El Forum - 03-17-2010, 12:18 PM
form validation on dropdown - by El Forum - 03-17-2010, 12:33 PM
|