We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to prevent multiple clicks on Check Out button

sk59
Tera Expert

User is able to click on CheckOut button multiple times before the form actually gets submitted. so how to prevent it?

1 REPLY 1

Mike Patel
Tera Sage

Add below client script on item.


Name: Submission Loading Screen


Type: onSubmit


Script:



function onSubmit() {


    //Type appropriate comment here, and begin script below


    showLoadingDialog();


}