hi there,
I have one datetime box (date) that is required and a second datetime box (date_end) that is not.
both fields are set up as date
when checking a db entry with only date entered date_end is set to 0000-00-00 as expected
however when following an edit link on the form date_end would hold the value 2011-01-01
what am I overlooking ? when editing an entry in a form I would like the non-required date field to be either blank or display 0000-00-00.
and a second question:
is there a way to require that date_end is at least 1 day after date ?
J!1.5.23, CF 4 RC1.9
I have one datetime box (date) that is required and a second datetime box (date_end) that is not.
both fields are set up as date
when checking a db entry with only date entered date_end is set to 0000-00-00 as expected
however when following an edit link on the form date_end would hold the value 2011-01-01
what am I overlooking ? when editing an entry in a form I would like the non-required date field to be either blank or display 0000-00-00.
and a second question:
is there a way to require that date_end is at least 1 day after date ?
J!1.5.23, CF 4 RC1.9