if you want javascript validation you will have to create your own theme and own validation. You will have to create your own validator class and modify the form-close-validation.ftl. This is what I've done in the past. Once you figure out the details you start creating and reusing validators.
On Thu, Nov 13, 2008 at 11:06 AM, Burton Rhodes <[EMAIL PROTECTED]>wrote: > How do I use validation in an [Action]-validation.xml file to validate > several fields? > > I need to implement the following logic for 3 fields on a form: > Company, FirstName, LastName. > > Psedo Code: > > If Company empty, then FirstName and LastName must be filled > If FirstName and LastName empty, then Company Must be filled. > > I am having trouble seeing how this can be accomplished with the > "expression" validator type. > > Or should I just write some simple javascript to make this happen?! > > Thanks!! > Burton > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >