When researching masks, typically the explanation point flag will cause input to begin at the right rather than the left. However the masked edit control does not support this flag.
I need to mask my control to enter weight, height, temperature, and other vital signs...all of which have the number of digits to the left of the decimal point varying from two to three digits. It would be nice to be able to begin on the right side so the user is not required to type a 098.6 for a 98.6 temperature with a mask of 999.9 (or even a 000.0 or ###.#, etc...).
Does this control have a property that I am completely missing that lets me change input direction?
Thanks in advance for your help!
Hi,
That is correct WebMaskEdit does not support free entry text and on start sets predifined mask. It means that if caret on start at right side, then user will not be able to enter anything.
If you need free edit mode when I would recommend to use WebTextEdit and filter entry. You may easily prevent any undesired entry, do various validations, etc. Below example allows for user to enter only digits or dot, validates if dot is entered, etc. You may add a lot of other checks.
<igtxt:WebTextEdit ID="WebTextEdit1" runat="server" MaxLength="6"> <ClientSideEvents KeyPress="WebTextEdit1_KeyPress" /></igtxt:WebTextEdit>