Regular expression for validating numbers only

If you select Custom for your validation type, you provide a regular expression (regex) to formulate a pattern or literal string, which the recipient must match in order to complete the Text field.

To use a regex to restrict possible options, follow these steps for your text question: For reference, "." (the period) refers to 'this question', while the regular expression inside the quotation marks needs to conform to the established regex rules.You can write Java Script scripts to check the following validations.To get a string contains only numbers (0-9) we use a regular expression (/^[0-9] $/) which allows only numbers.The following data validation options are supported: EXAMPLE — Employment Application Your business is growing and you're hiring!You've set up a Docu Sign template with the application form and all the fields applicants need to complete.

Leave a Reply