Welcome Guest, Not a member yet? Register   Sign In
Form Validation problem.
#1

[eluser]Unknown[/eluser]
Hello,

I Have created a Registration form with form validation, The Only Problem is because i have a default value in the drop-down box called "Please Select" the Validation is thinking that the Value is actually entered by the user therefore stating VALIDATION TRUE,

I want to somehow make the Validation not accept the Field if the value is Please Select?

Is there any way to do this?


Thanks in advance.
Chris Rogers
#2

[eluser]danmontgomery[/eluser]
You can create a callback function to check for a value other than "please select", or set the option value of "please select" to 0 or a blank string
#3

[eluser]Unknown[/eluser]
Thanks alot for your anwser noctrum, Most Appreicated.

:-)

Regards,
Chris Rogers
#4

[eluser]Colin Williams[/eluser]
Or just

Code:
<option value="">Please select...</option>




Theme © iAndrew 2016 - Forum software by © MyBB