Hi,
I am using a multiple select list box.
I use an array to retrieve the values that are selected by the user.
When I try to validate the list box if the user does not select anything, I get errors. The error deals with the array declared.
I am using PHP and the validation is done in Javascript. Please help out.
Thanks in advance.
I am using a multiple select list box.
I use an array to retrieve the values that are selected by the user.
Code:
<select name="competitor[]">
I am using PHP and the validation is done in Javascript. Please help out.
Thanks in advance.
Comment