You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Introduction

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

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

BeanShell Validator Properties

NameDescription
Script

A script in Java. Please see the  BeanShell 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.
Decoration

HTML coding to indicate that the plugin is in force.

Example

*

which produces

  • No labels