C. Data Format Templates : Numeric Templates : Input Masking and Numeric Templates
 
Share this page                  
Input Masking and Numeric Templates
After you enter a numeric template, you can enable input masking for the field by setting the InputMasking property to TRUE. OpenROAD automatically validates your template. If you have entered a template that is inappropriate for a numeric field, it displays a message to that effect and does not let you exit the field until you enter a valid numeric template.
Enabling input masking affects how the field interacts with the end user when the application is running:
If input masking is not defined for a field
Means that the end user can enter data, and its data type is checked when the end user tries to leave the field
If input masking is enabled for the field
Means that each character as the end user enters it must meet the criteria specified by the template. If it does not, OpenROAD beeps and the end user must type another character.
Note:  When input masking is enabled, the end user cannot enter a negative number unless the format template includes a negative indicator.