Re: Re: form validation question

2006-07-03 Thread Jesse Kuhnert
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

Re: Re: form validation question

2006-07-03 Thread Richard Clark
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