It would be really nice to specify a format for a textbox or label control and have any input formatted accordingly. The biggest use I see is for currency formatting. I currently use global properties to store some integer values so that I can use them in multiple pages. When I store them, I want to store them as a number so I can do calculations on them. However, when I’m displaying them to the user, I’d like for them to be formatted as currency. Also, I may want the user to input a value and have it formatted to currency when focus is lost. Some other possible formats may be:
phone number
zip code
SSN
Maybe even allow us to make custom formats similarly to how Excel does? For example, I could specify:
## – ##### – ##
1 answer
It is a good idea, thanks.
I am not so sure for now, be it seems to be complex for implementation, we will think about it.
This question is now closed