Bean Shell Validator allows you to write custom Java coding to validate the Form Element.

Figure 1: Bean Shell Validator


Script in Java. Please see  Bean Shell Programming Guide for code example.

Injected variables available for consumption are:-

  • element
  • values
  • formData

Expected Return Object:-

    • A boolean value to indicate the validation pass or fail.

HTML coding to indicate that the plugin is in force.


which produces