AhhI really need to finish up the 4.1 release. We'll be able to support
arbitrary requirements logic like this now as well. (on the client side &&
server.. Ie if this field gets filled out/selected then these other two
fields are required. Stuff like that)
On 7/3/06, Richard Clark <[EMAIL PRO
You can either:
1) Do all the validation in your listener (on the Java side), or
2) Write your own client-side valdation code in JavaScript.
The server-side validation would look like this:
ValidationDelegate delegate = (ValidationDelegate)getComponent("delegate");
if (!getCheckbox()) {
String