Details
-
Type: Improvement
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: EE-3.2.0.GA
-
Fix Version/s: None
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces 3.2
-
Salesforce Case Reference:
Description
mask attribute of the ace:maskedEntry is quite limited in scope at this point. This JIRA is aiming to add regular expressions support for this attribute.
A regular expression allows certain types of characters to be entered in specific sequences and structure. Say for example a phone number that allows for +()-. with spaces and numeric digits. From this we can extract a white-list of characters, so that any character typed, that's not white-listed, can immediately and silently be dropped. Then, when the user has finished entering their value, the whole regex can be evaluated, and client-side validation can be done, to provide user feedback on the validity of their input.