QF or FB: how to allow a NULL for date field?

From: Date: Fri, 07 Jan 2005 20:27:12 +0000
Subject: QF or FB: how to allow a NULL for date field?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16797@lists.php.net to get a copy of this message
I have several forms where that track status of a process. I have been building the forms based on using a date field - if datefiled = '0000-00-00' //default for database field, then that status has not happened yet. However, when using either QuickForm or FormBuilder, the date field is generated in such a way that it will always enter a date in the field. OPTION 1 - figure out a way around this. OPTION 2 - restructure my tables to add an additional field (Yes/No) to track each status. Your thoughts? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

« previous php.pear.general (#16797) next »