Every application that requires data input, will have a business case for entering text and numbers in a desired format. Currently, the only options in the Text control are the Format property (Text, Number) and Maxmimum Length.
We need to be able to selected common formats like SSN, Phone Number, Decimal, Currency, etc. and to specifiy patterns for business specific formats, such as an account number that use two alpha a dash and 4 numbers AA-####. You can implement Regular Epxressions or pick any of the languages that support some form a FormatText() function.
The best UI designs give immediate feedback to the user and limit the data entry of a value to the desired format should be a base functionality with any text control.
Along with the formatting we also need properties to read/update the the raw value (unformatted) or the formatted value. This way you can decide which version you want to save in the database, and setting the RawText property from a database column that saves only the digits of a phoner number would properly show the (999) 999-9999 format in the control.
Please consider moving this up, Everyone please vote it up and comment below with other ideas and need for properly formatting your data entry needs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @mcolbert,
Can you share more about the experience you're expecting? For instance, for a social security number, are you imagining a single text input box with dashes as you type?