0

In order to cancel a form submission the onSubmit function should return false. Refer the below mentioned syntax:

function onSubmit() { return false; }

How can you cancel a form submission through client script?
Working Code Asked question December 16, 2023