Multi Form Validator Plugin

Introduction

The Multi Form Validator plugin allows you to configure up to five form validators for a single form element in Joget.

Plugin information

  • Plugin Name: Multi Form Validator Plugin
  • Joget DX Compatibility: Joget DX 8

Get started

Where to get the plugin

Download the plugin JAR and source files from GitHub.

Configure multi form validator properties

  • This plugin only uses the element decorator for the first validator, and not the other possible 4 validators after.
    Example: If you are using the Basic Validator and need to display the "mandatory" icon beside the form element, use the Default Validator as the first validator.
  • If the user input does not fulfill many configured validators, only the error message for the first validator that returns false will be displayed.
  • Custom error messages from the validator will not display when Reverse The Validation Result? is selected.
    Example: If you are using the Basic Validator and select Reverse the Validation Result, the Custom Error Message to Show When Validation Fail will not display; instead, the Error Message for Reversed Validation Result will display.

Fields to configure:

  • Choose The First Validator: Select a form validator plugin.
  • Choose The Second Validator: Select a form validator plugin.
  • Choose The Third Validator: Select a form validator plugin.
  • Choose The Fourth Validator: Select a form validator plugin.
  • Choose The Fifth Validator: Select a form validator plugin.
  • Reverse The Validation Result?: Select to reverse the result from the validator chosen.
  • Error Message for Reversed Validation Result: Enter a custom error message for reversed validation.

Download plugin

Created by Julieth Last modified by Aadrian on Nov 25, 2024