To get full access to the Kademi Hub existing customers can login here, or new customers can register here.
Validates that a lead field's value is a number within an optional minimum and maximum. A value that cannot be read as a number fails the rule. Written into a task outcome's validations list as a numeric-validation element, and checked when that outcome is selected on task completion.
Group: Journeys
Extends: TaskOutcomeFieldValidation
Properties
| Property | Returns | Description |
|---|---|---|
| maxValue | Integer | The maximum allowed numeric value of the field. |
| minValue | Integer | The minimum allowed numeric value of the field. |
Inherited from TaskOutcomeFieldValidation
Properties
| Property | Returns | Description |
|---|---|---|
| fieldName | String | The name of the lead field this rule validates. |
| required | Boolean | Whether the field must have a value for this rule to pass. |
Methods
getFieldName()
Returns: String
The name of the lead field this rule validates.
getRequired()
Returns: Boolean
Whether the field must have a value for this rule to pass.
Methods
getMaxValue()
Returns: Integer
The maximum allowed numeric value of the field.
getMinValue()
Returns: Integer
The minimum allowed numeric value of the field.