Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents

...

Introduction

English
green
borderWidth1
titleBGColor#ddffcc
borderStylesolid
titleDefinition
Bean Shell Validator allows you to write custom Java coding to validate the Form Element.


Image ModifiedFigure 1:

Bean Shell Validator Properties

NameDescription
Script
Script

A script in Java. Please see

 

the  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.
Decoration

HTML coding to indicate that the plugin is in force.

Info
titleExample

*

which produces

Image Modified

 

 

...