Forms <select tag>

liunx

Guest
OK, I sent a message some time back and I got a quite a good responce, thx. But, I didnt explain myself that well.<br />
I have a form where I have a drop down menu, I want the top value to be blank, so that people are forced into scrolling down to choosing the value. the only problem is that a value us there by default and some people may just foget to check it to make sure it is correct. I have a validation done when it is submitted, I want it so that at the top of the list there is no taxt that has value.<br />
If somebody has then answer to this, thanks so much<!--content--><select><br />
<option value=""></option><br />
<option value="one">One</option><br />
<option value="two">Two</option><br />
</select>Or did you need the actual validation?<!--content-->OK, brill! I hope that this works. Basically the validation that happens in the CGI will look for any parts in the form that haven't been filled in. So now hopefully, a blank option will appear at the top with no value. if the blank option has a value, the validation sees it as being entered......which is really really annoying. <br />
THANKS<!--content-->Sure thing. Hope it works for you... :)<!--content-->
 
Back
Top