Introduction

This plugin is a form validator plugin that validates numerical values against a fixed value or another form field value with operator such as = or >= or <= or < or >.

Plugin source code and its releases available at Joget OSS Github.

Available Comparators

  • Equal To
  • Not Equal To
  • Greater Than
  • Greater Than or Equal
  • Less Than
  • Less Than or Equal

Configure Plugin

Compare Against Form Field

Property FieldOptionsDescription
Compare Against
  • Form Field
  • Fixed Value
  • To compare value of the selected Form Field with another Form Field
  • To compare value of the selected Form Field with a Fixed Value
Form-The Form of the desired Field ID to be compared against
Field ID-The desired Field ID to be compared against
Operator
  • Equal To
  • Not Equal To
  • Greater Than
  • Greater Than or Equal
  • Less Than
  • Less Than or Equal
  • Checks if one form field is equal to another form field
  • Checks if one form field is not equal to another form field
  • Checks if one form field is greater than another form field
  • Checks if one form field is greater than or equal to to another form field
  • Checks if one form field is less than another form field
  • Checks if one form field is less than or equal to another form field
Custom Error Message When Validation Fail-

Allows a custom error message to be displayed when the number validation fails. If this property field has no value, it will take the default value.

Default value: "Number Validation Failed"

Custom Error Message When Compared Field Value Is Empty-

Allows a custom error message to be displayed when the compared Form Field is empty. If this property field has no value, it will take the default value.

Default value: "Value of compared field value is empty"


For instance (see yellow highlighted area):

Compare Against Fixed Value

Property FieldOptionsDescription
Compare Against
  • Form Field
  • Fixed Value
  • To compare value of the selected Form Field with another Form Field
  • To compare value of the selected Form Field with a Fixed Value
Custom Value-Custom value to be compared against (for example: 1, 2 or 3).
Operator
  • Equal To
  • Not Equal To
  • Greater Than
  • Greater Than or Equal
  • Less Than
  • Less Than or Equal
  • Checks if one form field is equal to another form field
  • Checks if one form field is not equal to another form field
  • Checks if one form field is greater than another form field
  • Checks if one form field is greater than or equal to to another form field
  • Checks if one form field is less than another form field
  • Checks if one form field is less than or equal to another form field
Custom Error Message When Validation Fail-

Allows a custom error message to be displayed when the number validation fails. If this property field has no value, it will take the default value.

Default value: "Number Validation Failed"



  • No labels