Table of Contents |
---|
Introduction
In this tutorial, we'll show you how to make a BeanShell Form Validator. This validator makes sure only values from another table are allowed. Simply put, it acts as a reverse duplicate value checker. We'll have two forms in our example app—one for inputting valid values (Form 1) and another (Form 2) where the validator will be added.
...
Figure 6: Invalid Input
Figure 7: Valid Input
Download the Sample App
- APP_KB_beanshellvalidator.jwa
- There is also a second sample app that implements a similar concept to this article but has different requirements. You can download and check out the other sample app here: APP_KB_beanshellValidatorSample.jwa.