click confirm before submit form php
snippet in php

confirm before submit form php

user3248

onclick="return confirm('Are you sure you want to submit this form?')"

click confirm before submit form php

user7061

<form action="adminprocess.php" method="POST" onsubmit="return confirm('Are you sure you want to submit this form?');">
    <input type="submit" name="completeYes" value="Complete Transaction" />
</form>