Using MX Web 10.4.3 we've run into an issue with being unable to limit the number of characters that users key into a Date Picker widget.
Here's the use case:
- Most date fields in our legacy application are 8 characters long (ie. MMDDYYYY)
- Some are only 6 characters long (ie. MMDDYY)
- If a user keys "07162024" into a short date field, the input to the host is actually "071620" (a difference of 4 years!)
- We can add a label to the screen advising users of the correct format, but we all know how good users are at reading and following instructions...
Is there a way to limit the number of characters? I would assume so since there's an "Auto-tab" property? The format mask is correct but doesn't act as validation. I set the widget to disallow invalid dates, but the erroneous input above uses valid ones. I've also tried using the "maxlength" HTML attribute without success.
Suggestions?
EDIT - The QC team and I are getting different results, and I can't seem to duplicate the incorrect values. But I also didn't see a way to delete this post while I research further!
------------------------------
Mike Warren
Software Development Manager, GOLD Team Leader
CU*Answers
Grand Rapids MI US
------------------------------


