guideBridge.validate() is not working | Community
Skip to main content
manikanthar1295
Level 5
Apr 13, 2022 8:03 AM UTC
Solved

guideBridge.validate() is not working

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.
Pulkit_Jain_
Pulkit_Jain_Accepted solution
Employee
Apr 13, 2022 6:14 PM UTC

@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
Apr 13, 2022 6:14 PM UTC

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

 

Translate