Skip to content

Required answers and validation

Make a question required, and set lengths, number ranges, decimal places, date ranges, selection counts and text patterns.

Written by
Updated

Every plan
On this page

Every rule is checked twice: in the respondent's browser as they answer, and again on the server when they submit, so nobody can skip it.

Required

Turn on Required at the top of a question's settings. New questions are required, except long text. Contact info sets required per field, and a payment is always required.

Rules by question type

QuestionSettings
Short textMin characters, Max characters (up to 5,000) and Validation: Letters only, Digits only, Letters and numbers, or Custom pattern, with your own Error message.
Long textMin characters and Max characters (up to 20,000).
NumberMin, Max and Decimal places: Any, Whole numbers only, or up to 1–4.
Multiple choice (several answers)At least and At most selections.
DateEarliest and Latest date.
File uploadAccepted types, Max size (up to 100 MB) and Max files (up to 10).
MatrixWhen required, every row needs an answer.
Email, phone, websiteChecked for a valid address, number or URL automatically.

Custom patterns

Custom pattern takes a regular expression the whole answer must match, such as [A-Z]{2}[0-9]{6} for two capitals and six digits. If the pattern isn't valid, the builder says so and it isn't checked.