w2form.showErrors

Show errors of the form
showErrors()
Returns undefined.

Description

This method shows error messages for each field is there are any. The list of errors is taken from last.errors, which is populated by validate method.
If you have following form that adds aditional error checks. You can do:

User Comments

comments powered by Disqus