Validating field length is a fundamental type of validation rule. This is useful for requiring a field entry (length > 0), for limiting the lengh of a field (length < 10) or for matching a specific number of characters like a credit card acccount number (length = 16).
- Let's create a validation rule that must have an entry (more than 0 characters) and also must not be over 20 characters in length.
- Begin by creating a rule which requires length > 0.
- Click the Add button. Then Save out of the form.
Validate Empty Columns
You must enable validation of empty columns. If this setting is disabled, blank fields will be ignored by validation rules.
- Create a second rule to limit the length:
- After creating validation rules always check your work.
- Validation rules can sometimes take some trial and error before arriving at the intended settings.
Field length validation is a fundamental building block in form validation. This can be used in conunction with other types of validation to carefully control user input and ensure that you receive valid data.
2/1/2017 5:59 PM
4 comments [latest: 8/21/2017 2:03 PM]
[4/11/2016 5:45 PM]
How Can we check the Date Column not to be empty..?
[8/18/2017 6:30 PM]
How can we inforce user to put dashes with SS# (i.e. 222-666-4444) and validate that automatically to notify user?
[8/21/2017 2:03 PM]
JSu - you should use a Pattern validation, it will allow you to specify a regular expression to validate the value.
Comments are not designed to replace support calls. If you have a specific issue with one of our products, please send an email to email@example.com
to open a support ticket.