PDA

For continued disscussion on this topic : form to email



music
06-30-2000, 12:35 PM
Hello people,

I have a simple feedback form using <FORM NAME="Feedback"
METHOD="post" ACTION="mailto:... and would like to know
how to get it to redirect to a thankyou.html using JavaScript.
I have looked everywhere for such a script and have tried
writing one myself (I am a pianist and not a programmer by
the way) to no avail. My form works fine now, but it just sits
there after submission which probably leaves people wondering
if their feedback was accepted or not. If anyone could help me
with this I would be most grateful. I'm sure others would benifit
from such a script too.

Thanks.

Vincent Puglia
06-30-2000, 02:10 PM
Hi music,

Is this what you want?

timmyD's post (http://www.webxpertz.net/forums/showthread.php?threadid=41)

Vinny

Arielladog
06-30-2000, 06:48 PM
Aghhh, that page finally made sense to me. I had wondered why onsubmit="top.location.href='somepage.html'" didn't work. It's because the onsubmit fires before the form submits. So that why you have to use settimeout...thanx ;)