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>

The parameter required="true" for the previously included JavaScriptRequired validator must be applied to the tag
you want to validate with JavaScript:

Code Block
html
html

  <ww:textfield label="'Required String'" name="'requiredString'" required="true"/>

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

...