Constructor
new ValidationSettings(propertiesopt)
Parameters:
| Name |
Type |
Attributes |
Description |
properties |
Object
|
<optional>
|
The properties used to initialize the object.
Properties
| Name |
Type |
Attributes |
Description |
dataType |
Number
|
<optional>
|
Gets or sets the expected data type of the field. INTEGER: 0, FLOAT: 1, DATETIME: 2, EMAIL: 3, URL: 4, SOURCE: 5 |
compareFieldId |
String
|
<optional>
|
Gets or sets the comparison field identifier for the field. |
compareOperator |
String
|
<optional>
|
Gets or sets the comparison operator for the field. |
minLength |
Number
|
<optional>
|
Gets or sets the minimum length allowed for the field value. |
maxLength |
Number
|
<optional>
|
Gets or sets the maximum length allowed for the field value. |
minRange |
Number
|
<optional>
|
Gets or sets the minimum range allowed for the field value. |
maxRange |
Number
|
<optional>
|
Gets or sets the maximum range allowed for the field value. |
pattern |
String
|
<optional>
|
Gets or sets the regex pattern that the field value must match. |
|
Extends
Members
compareFieldId :string|Object|null
Gets or sets the comparison field identifier for the field.
Type:
compareOperator :string|null
Gets or sets the comparison operator for the field.
Type:
dataType :number|null
Gets or sets the expected data type of the field. INTEGER: 0, FLOAT: 1, DATETIME: 2, EMAIL: 3, URL: 4, SOURCE: 5
Type:
maxLength :number|null
Gets or sets the maximum length allowed for the field value.
Type:
maxRange :number|null
Gets or sets the maximum range allowed for the field value.
Type:
minLength :number|null
Gets or sets the minimum length allowed for the field value.
Type:
minRange :number|null
Gets or sets the minimum range allowed for the field value.
Type:
pattern :string|null
Gets or sets the regex pattern that the field value must match.
Type: