<form onsubmit="alert('blablabla');">

richiesta di conferma
<form onsubmit="return confirm('vuoi procedere?');">