1
0
-1

Hi Team,

I need to validate single mandatory field in page which contains multiple mandatory and non mandatory fields. we tried with Form.validate function and not getting succeed. Please help to provide a suggestion on this.

Thanks

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Form.validate is the right function. You need to pass the id of the item you want to validate in the method call

       

      Form.validate("textField", data);

       

      This works as shown below:

       

        CommentAdd your comment...