Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Validation on a drop down list
Message
 
To
24/08/2000 08:47:17
Todd Wolfe
Certified Marketing Services
Kinderhook, New York, United States
General information
Forum:
Internet
Category:
Javascript
Miscellaneous
Thread ID:
00408567
Message ID:
00408732
Views:
20
>I changed your function to the following if statement.
>
>if (document.form1.stateprov.options[document.form1.stateprov.selectedIndex].value =" ")
>
>{
>//make user choose an entry
>}
>
>However the value keeps coming up to be blank. Which is the first entry in the list. The list gets dynamically created with asp.

It appears that should work... you may want to go to www.devhead.com - there are resources there for snippets of Java code (that's where I do most of my Java shopping <g>).

HTH
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Reply
Map
View

Click here to load this message in the networking platform