on submit client script (glide ajax call)triggering without submit or save action

Shaik Zuber
Tera Contributor

Hi,

we have an on submit client script which calls glide ajax. If the users tries to view the history or trying to change the view, the onsubmit script is triggering without save or submit to the record.
Any thoughts on the resolution and the reason for it.

Any help will be appreciated.

Thanks,
Zuber

2 REPLIES 2

swathisarang98
Giga Sage
Giga Sage

Hi @Shaik Zuber ,

 

Could you please share the script and client script ?

 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang

Sumanth16
Kilo Patron

Hi @Shaik Zuber ,

 

Please refer below thread:

https://www.servicenow.com/community/developer-forum/why-do-quot-onsubmit-client-scripts-quot-run-wh...

 

If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

 

Thanks & Regards,

Sumanth Meda