1
0
-1

Hello.

In the Maestro API reference there is a method that i want to use: 

Form.clearValidationErrors(itemOrId, data)

But the method did not work when i use it like this:

Form.clearValidationErrors(Form.data.myField)

or like this


Form.clearValidationErrors('myField')

Am i doing something wrong?

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi Ivan,

      The correct syntax is:
      Form.clearValidationErrors(data.myField)

        CommentAdd your comment...