• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Validating a select element that allows multple selections

#1
[eluser]Eric Cope[/eluser]
I can not seem to find any mention of this anywhere. Does someone know how to validate a Select Form element that allows selecting multiple values?
Thanks.

#2
[eluser]Nikhil Vijayan[/eluser]
Sorry editing my post : bcoz my ansr was irelvant to ur question .. i misundertood the question..

and also do u have noticed that if we give form elemnts name as array

like <input type="checkbox" name="delete[]" value="1">
<input type="checkbox" name="delete[]" value="2">
<input type="checkbox" name="delete[]" value="3">

we cant validate it using ci validation class Sad


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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