AttributeValidation

<< Click to Display Table of Contents >>

Navigation:  Support > Reconfigurable Rulebook > Definition Objects >

AttributeValidation

Description

A member of the AttributeField definition, AttributeValidation are rules that are applied to entered data in an ATTRIBUTE VALUE to determine if the value is acceptable.

Definition

Attribute Name

Type

Description

MinValue

Dynamic, of type 'ValueType'

Minimum accepted value.

Required when ValueType is DATE, DATE TIME, INTEGER, and FLOAT. May not be used otherwise. Value must parse to the corresponding type.

MaxValue

Dynamic, of type 'ValueType'

Maximum accepted value.

Required when ValueType is DATE, DATE TIME, INTEGER, and FLOAT. May not be used otherwise. Value must parse to the corresponding type.

Regex

string

Regular expression to check the value.

Required when ValueType is STRING.

ErrorMessage

string

Message to be displayed to user when validation fails.

This field is required.

Example