Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Synchronous GlideAjax on OnChange() Catalog Client Script

Lucas Romani1
Tera Contributor

Hi,

 

Is there a way to use the synchronous glide ajax method (getXMLWait()) on OnChange() catalog client scripts for service portal ? What I found searching on community was a "trick" to use getXMLWait() on OnSubmit() catalog client scripts for service portal -> https://www.servicenow.com/community/developer-articles/getxmlwait-alternative-for-service-portal/ta... but I didn't found anything about use on OnChange().

 

Can you help me ?

1 ACCEPTED SOLUTION

Hello,

 

Then as suggested In the onsubmit client script just check if the field is still empty if yes return false else return true.

 

Please mark my answer as correct based on Impact.

View solution in original post

5 REPLIES 5

Hello,

 

Then as suggested In the onsubmit client script just check if the field is still empty if yes return false else return true.

 

Please mark my answer as correct based on Impact.