0 votes
in Service Now by
How can you cancel a form submission through client script in Servicenow?

2 Answers

0 votes
by

To cancel a form submission, the onSubmit function should return a false value. You need to use the following command:

function onSubmit() { return false; }

0 votes
by
If you want to cancel a form submission through client script, then the onSubmit function should return false. You can use the following syntax to cancel a form submission through client script:

function onSubmit() { return false; }

Related questions

0 votes
asked Aug 28, 2020 in Service Now by RShastri
+1 vote
asked Aug 28, 2020 in Service Now by RShastri
...