Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Insert excerpt
_Banners
_Banners
namescreen
nopaneltrue

Overview

Insert excerpt
_ValidationType
_ValidationType
nopaneltrue
 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.

Example Validations

For examples of validation configurations see , see Validation, Custom Validation and Adding Validation to Table Attributes.

Insert excerpt
_property_tabs
_property_tabs
namebasic-h
nopaneltrue

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

Insert excerpt
1.10 Validation
1.10 Validation
nameInvalidRegex
nopaneltrue

Description

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

Insert excerpt
_audit
_audit
nopaneltrue




Panel
borderColor#00374F
titleColorwhite
titleBGColor#00374F
borderStylesolid
titleSections on this page

Table of Contents
maxLevel3
indent12px
stylenone


Learn More

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