This option will not initially stop them from entering non-numeric characters, but they will get an error when trying to save the form.
Enter a rule like the following on your BO
Code: Select all
If MATCHES(BO.NumericField, '^[0-9]*$')='No' Then
REPORT ERROR 'NumericField MUST BE Numeric'
Set the "Input mask" of your field to accept only numeric digits and the user will be unable to enter anything but numbers.
The mask character 0 will accept any digit between 0 and 9.
The problem with this option is that you will need to set the mask to accept the maximum number of characters. For example '000000000' would be needed to be able to enter 9 digits.
If the user enters less digits then the maximum allows, the entry symbol will still display for the remaining digits.