Hey all, Does anyone happen to have any update or working on-form workaroun

Certified Lead Developer
Hey all,
Does anyone happen to have any update or working on-form workarounds to the current bug with the DateTime field?

In short, if you have a dateTime field and ONLY the date is entered, upon submission no value is saved into the variable. The problem is, if the field has only the date entered, it bypasses the "required" conditional validation and does not validate at all. Therefore we have forms where a dateTime is required (and process-critical), being submitted by users who forget to enter a time and therefore promoting a value of "null", which proceeds to cause pretty severe issues in the inner-workings of our subsequent processing. Previously the validation worked so we didn't have this issue, and we'd never built post-form doublechecks to ensure valid dates had been entered (because on-form validations, etc).

I believe an issue had been raised about this previously, but I've never heard any update, and the issue has persisted into 7.11.

DateTime Bug.sail

OriginalPostID-180013

OriginalPostID-180013

  Discussion posts and replies are publicly visible

Parents
  • Could be.. I am using your exact code posted here, when I enter the date portion ONLY (no time) and submit, the validation error is seen and thus the form would not submit (I verified by using in a process model as well). At this time the date entered in the field reverts to null, since it is not saved off to a local variable. So, it appears correct.
Reply
  • Could be.. I am using your exact code posted here, when I enter the date portion ONLY (no time) and submit, the validation error is seen and thus the form would not submit (I verified by using in a process model as well). At this time the date entered in the field reverts to null, since it is not saved off to a local variable. So, it appears correct.
Children
No Data