html_select_date add on
| From: | Andrew S. Nagy | Date: | Tue, 09 Sep 2003 20:40:55 +0000 |
| Subject: | html_select_date add on | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-10183@lists.php.net to get a copy of this message | ||
Is there a way to get the first option in the selects to be blank?
<select name="Day">
<OPTION LABEL="" VALUE=""></option>
<option label="01" value="1">01</option>
<option label="02" value="2">02</option>
<option label="03" value="3">03</option>
...
<option label="30" value="30">30</option>
<option label="31" value="31">31</option>
</select>
I want to allow my users to choose an optional date, so if they don't want
to pick the date, they can choose a blank date. Right now I am using a
check box to determine if they want to use it or not (since it defaults to
today's date), but that is not intuitive.
Thanks for any help
Andrew
________________________________________
Andrew S. Nagy
Lead Applications Developer
Living SchoolBook
Syracuse University
(315) 443-3450
http://lsb.syr.edu