updateElementStatus()

Update the element status

* presents a required parameter

  • field * — The field name
  • ele * — The field element
  • status * — The new status. It can be one of the following value
    • 'NotValidated': The field is not yet validated
    • 'Valid': The field is valid
    • 'Invalid': The field is invalid
  • validator — The validator name. If it isn't specified, all validators will be updated