Field validations

Modified 1 year ago

Neil

You can set validations so that the form can only be submitted if certain requirements are met. To access the validations, open the field in the Editor and select Validation on the left side. 

Validations are different depending on the data type. 

Validation

Description

Field type

Equal to

The field must exactly match a static value or the value in another field

Text

Email

Number

Currency

Date

Date & time

Dropdown

User

Not equal to

The field must not be a certain static value or the value in another field

Text

Email

Number

Currency

Date

Date & time

Dropdown

User

Contains

The field must contain certain characters, but might also have other characters

Text

Text area

Email

Does not contain

The field must not contain certain characters

Text

Text area

Email

Email format

The field must be a valid email address

Text

URL format

The field must contain no spaces and a dot followed by at least two letters

Text

Letters only

The field must not have any numbers or symbols 

Text

Numbers only

The field must not have any letters or symbols

Text

No special characters

The field must be only numbers and letters

Text

Starts with

The field must start with certain values

Email

Ends with

The field must end with a certain value

Email

Domain equal to

The field must exactly match a domain value

Email

Domain not equal to

The field must not be a certain domain value

Email

Max length

The field must not exceed a certain number of characters

Text

Text area

Min length

The field must be at least a certain number of characters

Text

Text area

Part of

The value entered must be part of a static value, or part of the value of another field

(Text, Text area, Dropdown, or text-based Remote Lookup)

Text

Not part of

The value entered must not be part of a static value, or part of the value of another field

(Text, Text area, Dropdown, or text-based Remote Lookup)

Text

Greater than

The value entered must be greater than another value or field

Number

Currency

Date

Date & time

Less than

The value entered must be less than another value or field

Number

Currency

Date

Date & time

Greater than or equal to

You get it

Number

Currency

Date

Date & time

Less than or equal to

You get it

Number

Currency

Date

Date & time

In the future

The date entered cannot be today or in the past

Date

Date & time

In the past

The date entered cannot be today or in the future

Date

Date & time

Not in the past

The date may be today or in the future

Date

Date & time

Yes

The value must be yes

Yes/No

No

The value must be no

Yes/No

Attachment file type

The attachment must be a particular file type

Image

Attachment

Max attachment size

The attachment must be less than a particular value of MBs

Image

Attachment

Max number of attachments

The maximum number of files at can be added to this field

Attachment

Min number of attachments

The minimum number of files at can be added to this field

Attachment

Max number of selections

The maximum number of values a user can select

Checkbox/Multiselect

Checklist

Min number of selections

The minimum number of values a user can select

Checkbox/Multiselect

Checklist

Selection should contain

Ensures that one specified value is among the selections

Checkbox/Multiselect

Selection should not contain

Ensures that one specified value is not among the selections

Checkbox/Multiselect

Select all

Forces the user to check off all the items

Checklist

If the validation is not met, a red error message will show underneath the field and the user will not be able to submit the form. You can customize the error message while editing the validation. 

Did you find the article helpful?

Powered by HelpDocs (opens in a new tab)