Versions Compared

Key

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

...

  1. include a js code like below:
    Code Block
    <script type="text/javascript">
      new Validation('form-id');
    </script>
    }
    
  2. 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>
    

...