i have a form that i want cleared after user submits the form. right now as it stands if the user hits the "BACK" button on the browser they are still able to see what they typed. which sucks.
this is the code as i have it now.
<form action="mailer.php" method="post">
<input type="text" name="name" size="40"> | Name |
<br>
<br>
<input type="text" name="e-mail" size="40"> | eMail |
<br>
<br>
<input type="text" name="subject" size="40"> | Subject |
<br>
<br>
<br>
<textarea name="message" rows="8" cols="60"> </textarea>
<br>
<br>
<input type="submit" value="Send"> | | <input type="reset" value="Cancel">
</form>
i have a "mailer.php" that handles sending the data to me via email.
how would i go about having he form cleared after user hits the "send" button?
also, what characters should i be restricting in the form?? i was advised to restrict certain symbols and characters from being typed into the form.....
so those two questions if anyone has some insight that would be great.