Input Mask Ability? #75
Replies: 5 comments 2 replies
|
This is one of the most common data-input pattern issues, very helpful. |
|
Yeah, but those common masks would vary a lot by culture. I think some sort of regex would be easier |
|
There must be existing patterns or plugins that already take care of the localization part of the mask. |
|
OK. I think the basic requirement is to idea to have a way for the user to provide the mask. I was thinking it would be a nice ease of use feature to provide a "quick list" of predefined masks like phone number, SSN , zip code, etc., but I see the localization issues. That a nice to have, not a must have. Perhaps a potential solution here is to provide a way for the admin to change the options in the quick list. We could have some defaults, but they could change them for whatever locale they are in. I will work on implementing the basic mask functionality first. |
|
This is done |
Uh oh!
There was an error while loading. Please reload this page.
How useful would it be to be able to set an input mask on textbox type inputs? In the setup options we could provide a list of common mask (phone number, zip code, SSN, etc.) and also have the ability for the user to provide a custom mask and a custom validation message.
Useful?
All reactions