Decimal place validation

Applies to Infiniti v8.0 or later
Please note that from Infiniti v9 onwards the User Prompt question type has been renamed Text Field.
If you need your form project to capture numbers that must have a specific number of decimal places, you can add Regular Expression validation in Design. The following regular expressions will validate to the noted number of decimal places:
 1     \d+(\.\d{1,1})? 
 2   \d+(\.\d{1,2})?
 3   \d+(\.\d{1,3})?
 4   \d+(\.\d{1,4})?
 5   \d+(\.\d{1,5})?
 6   \d+(\.\d{1,6})?


Related Articles



Text Prompt, Validation, Decimal, Number, Numeric, Regular Expression, Regex