function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ken SeaneyKen Seaney 

Date validation bug in flow designer

I have a flow that has multiple date input fields on flow screens that are used in our community. They are the standard date field elements in the flow designer (not custom components). The problem is that if a person types in a wrong date format  (i.e. 1/1/201 ) it crashes the flow. 
Error from email:
FIELD_INTEGRITY_EXCEPTION: date fieldname.: invalid date: Thu Jan 01 00:00:00 GMT 201.

I have tried to use validation for the field in Flow Designer but cannot seem to get a formula that works for a date field. Keep getting syntax errors.

I have tried both REGEX date formulas and LEN to try to enforce a date format that it will accept - (mm/dd/yyyy) in the user interface, but not getting anywhere.