Originally posted by Wouter Thanks for the suggestion but using
onclick="myForm.reset()" resets the form before the input is send to the CGI. I think I have to use a delay or something.
fwiw, it's good 'usability' to let the user know more clearly that a form has been submitted.
Perhaps you might want to consider using a return page.
This is the most popular option and is very reassuring way of telling the user that stuff has happened.
An 'on-page' alternative would be to have a div appear when the form is submitted.
The DIV could have a short notice telling the user that their message has been sent.
It'll have a close (this 'window') button/image which can be used to hide the DIV and reset the form beneath it.
If you just want to use a delay then simply try adding this to the submit image...
Simply increase the number by 1000 for every second of delay you want.
Using this method can create problems on servers with inconsistant speeds (esp slow ones)