Formbuilder: Empty date as default
| From: | Mads Lie Jensen | Date: | Thu, 23 Mar 2006 06:40:51 +0000 |
| Subject: | Formbuilder: Empty date as default | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-23408@lists.php.net to get a copy of this message | ||
Hi
I'm using DB_DO and Formbuilder.
In one form, I have several date-inputs, using dropdowns. I have a
selectAddEmpty on one of these dates, and there is an empty element at
top of each day/month/year dropdowns for this date. In the database this
date can be NULL, and the form accepts an empty element as input.
But, when displaying a new form, the current date is selected in this
field - I would like it to be empty as default. Can this be done?
--
Mads Lie Jensen - mads@gartneriet.dk - ICQ #25478403
Gartneriet - nu ny indpakning (delvist i hvert fald): http://www.gartneriet.dk/