resetField()

Reset the field

This method also clears all the messages, hide the feedback icons, etc.

* presents a required parameter

  • field * — The field name
  • reset — If true, the method resets field value to empty or remove checked, selected attributes

More examples