Expand my Community achievements bar.

SOLVED

guideBridge.validate() is not working

Avatar

Level 6

Hi Team,

 

I have one field and for that i have wriiten rues using rules editor below is code which i have user.

 

if (this.value === null) {
  console.log("Before error mesage");
  var errors = ["Please enter the name correctly"];
  guideBridge.validate(errors,guide[0].guide1[0].guideRootPanel[0].lastname[0],true);
 console.log("After the error meaasge");
}

What else i need to do this code to work kindly some on help here

 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@manikanthar1295 guideBridge.validate works fine at my end:

var errors = [];
guideBridge.validate(errors,guide[0].guide1[0].guideRootPanel[0].textbox1649870201297[0],true);

Make sure that you're using the correct event i.e validate in this case.

 

Hope this helps!

 

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

@manikanthar1295 guideBridge.validate works fine at my end:

var errors = [];
guideBridge.validate(errors,guide[0].guide1[0].guideRootPanel[0].textbox1649870201297[0],true);

Make sure that you're using the correct event i.e validate in this case.

 

Hope this helps!