I have a date field where if null, I want today to be inserted. If the user overrides the today date and saves the form, I want the user entered date to stay.
What I have in FORMCALC is:
if ($.isNull)
then
$.rawValue = num2date(date(), DateFmt(2))
endif
The first part works, it populates with today, and I can overrided the date. When I save and then reopen the form, the date is "0".
Any ideas here?
What I have in FORMCALC is:
if ($.isNull)
then
$.rawValue = num2date(date(), DateFmt(2))
endif
The first part works, it populates with today, and I can overrided the date. When I save and then reopen the form, the date is "0".
Any ideas here?