THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
<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 | ||||
---|---|---|---|---|
| ||||
<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.
...