Versions Compared

Key

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

...

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 >.This plugin is still in initial design stage

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

...

Compare Against Form Field

Image Modified

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

selected

compared Form Field is empty. If this property field has no value, it will take the default value.

Default value: "

Please key in value."

Value of compared field value is empty"


For instance (see yellow highlighted area):

Image Added

Compare Against Fixed Value

Image RemovedImage Added

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.

Allows a custom error message to be displayed when the selected Form Field is empty. 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-

Default value: "Please key in value."