Forums/New Features

Date fields can now be blank

Michael Slater
posted this on December 5, 2012, 14:34

In the past, our system had a "feature" that if a date or date/time field was not set when saving a database item, it was set to the current date and time.

We now allow date and date/time fields to be left blank, and we save the fact that the field is blank. You can test a date or datetime field to see if it is blank just like any other field:

<w:if condition="fieldname.blank?">