1. Why This Matters
If the same user is selected for multiple approval roles, approvals lose segregation and audits become weak.
This validator blocks duplicate user selections at form submission time.
2. Where to Use in Joget
Form Builder: add this as a Custom Validator on each approver-related field.
Suitable fields: dropdown, select box, or user picker fields storing usernames.
Not for Workflow Builder or API Builder: this is pre-submission form validation.
3. Configuration You Must Set
Update these field IDs to match your form:
reviewer
authorizer
approver
Attach the same validator script to each of these fields so each selected value is checked against the other roles.
4.…