Drop-Down Box and Blank Values

D

Dave

I create a drop down box with X amount of options. I
ensured all of the options are labled as not being
checked; however, the top value is always shown on the web
and hence, always sent when the Submit button is pressed.

Is there a way to display a blank value on a drop down
box? Thanks!
 
D

Dave

-----Original Message-----
I create a drop down box with X amount of options. I
ensured all of the options are labled as not being
checked; however, the top value is always shown on the web
and hence, always sent when the Submit button is pressed.

Is there a way to display a blank value on a drop down
box? Thanks!


.
 
M

MD Websunlimited

Hi Dave,

Yes, but you'll have to enter the code in Code / HTML view

<select size="1" name="D1">
<option></option>
<option>safda</option>
<option>asfd</option>
<option>asdf</option>
</select>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top