Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Overview

 Validation Type defines the expected input for the form field it is applied to for it to be considered valid. Where the input of a form field does not pass the criteria an error value is set, this is available using _field.errors.

For examples of validation configurations see Adding Validation.

 Properties Tab

Basic Settings

FieldDescription
NameName of the Validation Type.
Base Type

Defines the data type the validation applies to, see Understanding Data Types. The value is selected from a drop-down list which contains the following options:

  1. String
  2. Integer
  3. Number
  4. Any

Validation

Validation options define the validation applied by the Validation Type. The validation options are determined by the Base Type selected in the basic settings:

Base Type SelectedValidation Options
String
  1. Minimum Length, of the string for it to be valid. 
  2. Maximum Length, of the string for it to be valid.
  3. Pattern, the pattern a string must satisfy for it to be considered valid. The pattern is entered as a regular expression, see Regular Expressions.

Integer

  1. Minimum, number permitted for an integer to be valid.
  2. Exclusive of Minimum, if disabled the number must be greater than the minimum set. If enabled the number must be greater than or equal to the minimum set. 
  3. Maximum, number permitted for an integer to be valid.
  4. Exclusive of Maximum,  if disabled the number must be less than the minimum set. If enabled the number must be less than or equal to the minimum set.
  5. Multiple Of, checks if the integer is a multiple of the given number, if it is then the integer is considered valid. 
Number
  1. Minimum, number permitted for an integer to be valid.
  2. Exclusive of Minimum, if disabled the number must be greater than the minimum set. If enabled the number must be greater than or equal to the minimum set. 
  3. Maximum, number permitted for an integer to be valid.
  4. Exclusive of Maximum,  if disabled the number must be less than the minimum set. If enabled the number must be less than or equal to the minimum set.
  5. Multiple Of, checks if the integer is a multiple of the given number, if it is then the integer is considered valid. 
AnyN/A

Description

FieldDescription
DescriptionWe recommend you always add a description of this palette.

 Audit Tab

Audit Summary

See the Common Properties page, Audit Summary section.


Sections on this page

Learn More

For links to all pages in this topic, see  Understanding Template Packages.

  • No labels