if validate=true , js function (pure client side) onsubmit is invoked on the form in xhtml theme ; and in ajax theme it adds and onblur validate() to every field element and validates it using ajax. Both of these use the rules defined in your validation xml file.
So setting validate=true is for invoking validation before submit On 8/30/07, Pavel Sapozhnikov <[EMAIL PROTECTED]> wrote: > > Hi I have a question about this <s:form validate="true"> attribute. So > when > I put it in s:form it says its only useful with xhtml or ajax themes. Why. > I > read the documentation on that thing it says that this is only javascript > thing. What I don't understand is that it still says to have xml file or > validate() method. But if I have either of those 2 -its gonna validate so > what NEW does validate="true" in s:form give me. Thanks. > > -- > Pavel Sapozhnikov > xFact, Inc > [EMAIL PROTECTED] >