Sometimes a user accidentally clicks to submit a form before they are ready. We can prevent accidental form submission. Sometimes this is as simple as asking for confirmation. Other times the values that have been enetered must be scrutinized, as in this example. The example on this page simply asks for confirmation.