contact form 7 submit event php code example
Example: confirm before submit form php
onclick="return confirm('Are you sure you want to submit this form?')"
onclick="return confirm('Are you sure you want to submit this form?')"