I have a contact form built with Contact Form 7. What I want to do is when the user hits the submit button to throw up a pop up window with a notice asking if their sure they want to submit the form with an ok or cancel button. I've found the hook 'wpcf7_before_send_mail'. I was hoping there might be something i could do in the additional settings. Something like
But when I have tried to just get an action to work like this say:
It just submits the form without doing anything.
How would I get a popup to appear with an ok and cancel button, ok submitting form and cancel breaking the action?