JHtmlBehavior::formvalidation
Add unobtrusive JavaScript support for form validation.
To enable form validation the form tag must have class="form-validate". Each field that needs to be validated needs to have class="validate". Additional handlers can be added to the handler for username, password, numeric and email. To use these add class="validate-email" and so on.
Signature
public function formvalidation()
Returns
- void