Hi there,
I am using LiveCycle ES3. This may seem like a silly question, but how do I prevent users from entering random, non-date text, like "adsfasdfkafsdj" into a date field? I have set the field to required, and set the edit/validation/display validation patterns as indicated below, but still I can enter random text into the field. It pops up my custom error message saying the date is in the wrong format and to re-enter it correctly, but then the cursor just skips to the next field, leaves the incorrect text in the date field, and doesn't require the user to correct it.
Display Pattern
date{MM/DD/YY}
Edit Pattern
date{M/D/YY}|date{M/D/YYYY}|date{MM/DD/YY}|date{MM/DD/YYYY}|date{M/DD/ YY}|date{M/DD/YYYY}|date{MM/D/YY}|date{MM/D/YYYY}|date{M.D.YY}|date{M. D.YYYY}|date{MM.DD.YY}|date{MM.DD.YYYY}|date{M.DD.YY}|date{M.DD.YYYY}| date{MM.D.YY}|date{MM.D.YYYY}|date{M-D-YY}|date{M-D-YYYY}|date{MM-DD-Y Y}|date{MM-DD-YYYY}|date{M-DD-YY}|date{M-DD-YYYY}|date{MM-D-YY}|date{M M-D-YYYY}|date{MMDDYY}|date{MMDDYYYY}
Validation Pattern
date{M/D/YY}|date{M/D/YYYY}|date{MM/DD/YY}|date{MM/DD/YYYY}|date{M/DD/ YY}|date{M/DD/YYYY}|date{MM/D/YY}|date{MM/D/YYYY}|date{M.D.YY}|date{M. D.YYYY}|date{MM.DD.YY}|date{MM.DD.YYYY}|date{M.DD.YY}|date{M.DD.YYYY}| date{MM.D.YY}|date{MM.D.YYYY}|date{M-D-YY}|date{M-D-YYYY}|date{MM-DD-Y Y}|date{MM-DD-YYYY}|date{M-DD-YY}|date{M-DD-YYYY}|date{MM-D-YY}|date{M M-D-YYYY}|date{MMDDYY}|date{MMDDYYYY}
With the patterns I have above, the user should ONLY be allowed to enter data in one of these formats, correct? I'm at a loss as to why this isn't working the way it's supposed to.
Thanks.