Help center

How to check answers with validation rules

Ask for a valid email, link or number, limit the length of an answer, and set how many options people can pick.

On this page

Validation checks an answer before the form is sent. Use it to make sure an email address looks like one, or to keep answers within a length you can read.

Validation settings are in each question's Field settings, under Validation. Which options you see depends on the question type.

Open the validation settings

  1. Click the gear button on the question (Field settings). On a phone, tap the handle next to the question and choose Field settings.
  2. Find the Validation heading.

Every change is saved straight away. There is no Save button.

For a short answer, set Format:

FormatAccepts
NoneAny text
EmailAn email address, such as jane@example.com
URLA link that starts with http:// or https://
NumberA whole or decimal number, such as 42, -3, 7.5 or 7,5

A Number answer must be a plain number. A comma counts as a decimal mark, like a point, so 1,000 is accepted as a number with a decimal part. Currency signs, units, spaces inside the number and a second separator are refused, so "1,000.50" and "£20" are. To get amounts without doubt, ask for digits only in the question text, such as "Amount in pounds, digits only".

On phones, respondents get a keyboard that suits the format: one with @ for Email and one for web addresses for URL. A Number answer uses the normal keyboard, because a number pad on some phones has no minus sign and could not type -3. Respondents switch to its numbers row.

Long answers have no format setting.

Limit the length of an answer

  • Short answer: set Min length, Max length or both, from 0 to 1,000 characters.
  • Long answer: set Max length, from 0 to 20,000 characters. There is no minimum.

Leave a box empty for No limit. Even without a limit, a short answer holds at most 1,000 characters and a long answer at most 20,000.

The boxes take whole numbers only. If Max length is smaller than Min length, Notie shows Max must be at least min. Not saved. and keeps the previous values until you fix it. A number above the highest allowed value, or one that isn't a whole number, is not saved either: Notie shows Use a whole number from 0 to …. Not saved. with that box's highest value, and keeps the previous value.

Set how many options people can pick

For a multiple choice question, set Min selections, Max selections or both, from 0 to 100. For example, set Max selections to 3 for "Choose up to three".

These boxes appear only when Allow multiple is on. A single choice question always takes one answer.

Respondents see the limits under the question before they pick, for example Pick up to 3.

What respondents see

Answers are checked when someone presses the submit button. If an answer does not pass, the form is not sent, the cursor moves to the first problem and a message explains what to fix:

ProblemMessage
Too shortUse at least 10 characters.
Too longUse at most 500 characters.
Not an email addressEnter a valid email address.
Not a linkEnter a valid link starting with http:// or https://.
Not a numberEnter a number.
Too few or too many picksChoose at least 2. / Choose at most 3.

The numbers in the messages come from your settings. Once a message shows, it goes away when the respondent fixes the answer and moves on to the next question.

Spaces at the start and end of an answer are ignored before it is checked.

Optional questions with limits

Limits apply only to answers that are given. If a question is not required, leaving it empty is fine even with a Min length or Min selections. To insist on an answer, turn on Required as well.