Form onSubmit Form onSubmit <form action="/path/to/email/script.php" method="post" onSubmit="alert('Thank you so much for your time!');">