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 firstName = getFirstName(); // @Text component bound to firstName if (firstName == null || firstName.length() == 0) { delegate.setFormComponent((IFormComponent)getComponent("inputFirstName")); delegate.record("Please supply a first name", ValidationConstraint.REQUIRED); } } if (delegate.getHasErrors()) return; ...Richard --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]