Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
html
html
<ww:form name="'test'" action="'javascriptValidation'" validate="true" >

  ...
</ww:form>

Of course, all the standard validation configuration steps still apply. Enabling client-side validation will produce (harmless) scripting errors if not configured properly.


Upgrade Alert: To use client-side validation, make sure you have defined the correct validators in validators.xml. You must be using the com.opensymphony.webwork.validators.JavaScriptRequired*Validator version of the standard XWork validators.

...