[development] One other teensy FAPI question

Syscrusher syscrusher at 4th.com
Sat Mar 31 03:16:06 UTC 2007


Using the 'date' field type, how does one cause the field to allow a "not
specified" date? Is this not supported? I want to use dates in a search form
as an optional parameter, not a required one.

Right now I am detecting a "null" date by looking for 1900-01-01, but in this
particular application (a genealogy research module), that happens to be a
perfectly legitimate value.

Probably nobody else has needed this yet, and it isn't supported, but I thought
it didn't hurt to ask. At worst case, I may have to just reserve that value. I
don't want to burden the user with a checkbox for each of the *four* available
date search parameters.

Scott

-- 
-------------------------------------------------------------------------------
Syscrusher (Scott Courtney)          Drupal page:   http://drupal.org/user/9184
syscrusher at 4th dot com            Home page:     http://4th.com/   


More information about the development mailing list