Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
The Equal Value Validator allows you to enforce validation on 2 two fields. The value of the two fields must match before one may submit the form. For example, in the following form, we would like to validate a form can be submitted. In the sample form below, we are going to validate the "Verification Key" and "Confirm Verification Key" fields to be of equal value.
Figure 1: Adding Equal Value Validator into formInto the Form
ID: verificationKey
Label: Verification Key
ID: confirmVerificationKey
Label: Confirm Verification Key
In "the confirmVerificationKey" field, open up its properties and field properties, set the validator to "Equal Value Validator" in the "Choose Validator" tab. Then, go to the "Configure Equal Value Validator" tab tab as shown in the figure below.
...
Figure 2: Configuring Equal Value Validator
Make sure that the "Field Id" is pointing to the other field that requires validation which, which in this case, to is "verifictionKey". You may customize the Error Message error message to be shown when the validation fails.