Collect accurate information from your respondents by validating form inputs. Define validation rules using logic conditions, regular expressions or out-of-the-box validation rules.
settings icon
to open the right-hand panel. Open the Validation dropdown and choose a Validation pattern
.
Purpose | Regular expression |
---|---|
Whole numbers | ^\d+$ |
Alphanumeric without space | ^[a-zA-Z0-9]*$ |
Alphanumeric with space | ^[a-zA-Z0-9 ]*$ |
URL | https?:\/\/(www\.)?[-a-zA-Z0-9@:%.\+~#=]\.[a-z]\b([-a-zA-Z0-9@:%\+.~#()?&//=]*) |
Decimal numbers | ^\d*\.\d+$ |
Whole and decimal numbers | ^\d*(\.\d+)?$ |
Preview
mode!
Set conditional logic
. For example, we only want to accept gmail or yahoo emails.
Preview
mode and click on the Next
or Submit
button. You’ll see a warning message appear if your inputs don’t match your validation rules.