Validate Information in Forms

Applies to

Smartsheet
  • Pro
  • Business
  • Enterprise

With form validation, you can add real-time validation to your forms in the form builder to help you gather consistent, error-free data.

Add simple character and pattern-based validation to Text/Number and Contact List fields.

Validation Type

Field Type(s)

Valid Characters

Valid Pattern

Numbers

Text/Number

Numbers

Period (.)

Dash (-)

“e” for exponential

N/A

Percents

Text/Number

Numbers

Period (.)

Dash (-)

“e” for exponential

N/A

Email addresses

Text/Number, Contact List

All

[characters]@[characters].[characters]

Phone numbers

Text/Number

Numbers

Must have correct number of characters based on selected country

Get started with validation on your form

To add validation to a form:

  1. SelectManage forms…in the形式menu and open an existing form.
  2. Click on a text/number or contact list field on your form to open the field settings panel on the right.
  3. Navigate toValidationin the panel. By default,No Validationis the selected option.
  4. Select the option you want to enable for the field.

Field Validation

Fill in a form field with validation enabled

When filling in a field with validation, the form respondent’s experience will depend on the type of validation that you enabled:

  • If the validation requires certain types of characters, they will be unable to enter any invalid characters in the field. For example, in a phone-validated field, they will not be allowed to enter any non-numeric characters.
  • If the validation requires a certain character pattern, their entry must match that pattern. If they enter something that does not match the pattern and then click anywhere else on the form, the form will display an error message.

Invalid email format

Notes:

  • When you add phone validation to a field on your form, you can select the default country code. People who fill out the form will also have the option to change the country code while filling in the phone-validated field.
  • It is not possible to submit a form that has a validation error on it. In order to submit, the person filling out the form will first need to fix the entry in the validated field or delete their entry (if the field is not required).
  • There's no form validation in the mobile app. You'll automatically be prompted to use GPS/barcode functionality instead.