blank date in html_date_select
| From: | Ajay Sharma | Date: | Fri, 17 Jan 2003 20:15:44 +0000 |
| Subject: | blank date in html_date_select | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7257@lists.php.net to get a copy of this message | ||
I'm creating a form where people are supposed to select a date when they
received this paperwork. But I need them to leave the date field blank
if they didn't receive anything. Currently the html_date_select will
just default to today's date and then when they hit 'submit' it's going
to stick that date in the database as if they received the paperwork,
even if they just meant to update other fields.
I guess I can just use a checkbox instead but I'd rather have the first
option blank in the month/date/year drop down boxes.
Anyone else run into this problem or have a workaround?
later,
ajay