In fact it is super easy to do. Attach the JavaScript to the submit event - the way that works, the JS intercepts the submit. User presses cancel and the script returns false and the form does not submit.
That's JS 101
In fact it is super easy to do. Attach the JavaScript to the submit event - the way that works, the JS intercepts the submit. User presses cancel and the script returns false and the form does not submit.
That's JS 101