Font Size:
Ask Joget AI

BeanShell Validator

Introduction

The BeanShell Validator allows you to write custom Java code to validate the Form Element.

To add this validator, go to the element's properties under Advanced Options > Data and choose BeanShell Validator in the Validator field.

Note: A boolean value to indicate the validation pass or fail.

When adding a BeanShell, you will see the following fields available for configuration:

  • Decoration: HTML code to indicate that the plugin is in effect.
    Example
    *
    Which produces:
Created by Julieth Last modified by Debanraj Ravindran on Apr 24, 2026