guideBridge.validate() is not working | Community
Skip to main content
manikanthar1295
New Participant
April 13, 2022
Solved

guideBridge.validate() is not working

  • April 13, 2022
  • 1 reply
  • 611 views

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

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Pulkit_Jain_

@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!

 

1 reply

Pulkit_Jain_
Pulkit_Jain_Accepted solution
Employee
April 13, 2022

@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!