How is it possible to accept the following values in a date field:

   - YYYY-MM-DD - no problem
   - YYYY-MM (year and month only) - entered manually, accepted by
   IS_DATE(format=T('%Y-%m')) but the actual field contains YYYY-MM-*1. *Where
   "1" is added automatically by w2p.
   - YYYY (year only) - same as above, w2p adds YYYY-*1*-*1*

Or alternatively, where MM or DD is unknown, replace with zero:

   - if YYYY, then YYYY-0-0
   - if YYY-MM, then YYYY-MM-0

Right now, I'm simply using a string field with IS_MATCH, but I'm hoping
it's possible to take advantage of the calendar widget.

Regards,

Reply via email to