THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- include a js code like below:
Code Block Event.observe(window, 'load', function() { if ($('formName')) validateNewUser = <script type="text/javascript"> new Validation('formName', {immediate: true});form-id'); </script> }
- And in the respective form use the suitable class for form fields
Code Block <field ... widget-style="required"> ... </field> <field ... widget-style="validate-email"> ... </field> <field ... widget-style="validate-url"> ... </field>
...