BeanShell (Multirow) Validator

BeanShell (Multirow) Validator allows you to write custom Java coding to validate multi-row Form Elements, such as Form Grid, Spreadsheet, and Advanced Grid.
 
To add this validator, go to the element's properties under Data & Validation > Validation and choose BeanShell (Multirow) Validator in the Validation field.
When adding a Beanshell, you will see the following fields available for configuration:
  • Script: A script in Java. See the Bean Shell Programming Guide for a code example.
    Injected variables available for consumption:
    • element
    • rows
    • FormData
  • Decoration: HTML coding to indicate that the plugin is in force.
     
    Example
    *
    Which produce:
Download the demo app for BeanShell (Multirow) Validator:
Created by Marcos Last modified by Aadrian on Dec 13, 2024