Forums
This topic is locked
Form Submit Redirect
09 Dec 2002 21:47:30 Nick Webb posted:
I have a form that I need some help with. I want to have it so that when the submit button is pressed, an email is sent to me and at the same time, the user is redirected to a Thankyou page. I have tried with little success. Replies
Replied 10 Dec 2002 09:50:25
10 Dec 2002 09:50:25 Martha Graham replied:
What programming language are you using?
Martha Graham
Martha Graham
Replied 10 Dec 2002 19:23:43
10 Dec 2002 19:23:43 Nick Webb replied:
I am not a programmer at all. I have just been trying to find something online that will do this for me. So any help is greatly appreciated!!!!!!!!
Replied 11 Dec 2002 02:22:03
11 Dec 2002 02:22:03 Dan The Man replied:
this will do the trick. some hosts have a special form element that will achieve the same thing (i.e. <input type="hidden" name="end_display" value="www.mysite.com/thanks.html"><img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>.
<form name="myForm" action="" method="'' onSubmit="location.href='www.mysite.com/thanks.html'">
...
</form>
<form name="myForm" action="" method="'' onSubmit="location.href='www.mysite.com/thanks.html'">
...
</form>
Replied 16 Dec 2002 05:04:05
16 Dec 2002 05:04:05 E Cunningham replied:
I also need help with my form...i have attached a mailto behavior to the submit button but nothing comes up in the email! i'm so lost...how can i get the date emailed back to me?
Replied 16 Dec 2002 09:37:18
16 Dec 2002 09:37:18 Marja Ribbers-de Vroed replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I also need help with my form...i have attached a mailto behavior to the submit button but nothing comes up in the email! i'm so lost...how can i get the date emailed back to me?
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Best way would be to use some server-side language. But a simple way would be to put 'mailto:<some email address>' in the Action property of the From tag.
Eg. like this:
<pre id=code><font face=courier size=2 id=code>
form name="form1" id="form1" method="post" action="mailto: "
</font id=code></pre id=code>
But... the drawback for this method is that the visitors own mail program will be used to send the form information and he/she will be able to prevent sending that info by deleting the email from the Outbox. Then you will never receive a thing.
So... if possible I would definitely go for the server-side solution.
Hope this helps.
--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/
I also need help with my form...i have attached a mailto behavior to the submit button but nothing comes up in the email! i'm so lost...how can i get the date emailed back to me?
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Best way would be to use some server-side language. But a simple way would be to put 'mailto:<some email address>' in the Action property of the From tag.
Eg. like this:
<pre id=code><font face=courier size=2 id=code>
form name="form1" id="form1" method="post" action="mailto: "
</font id=code></pre id=code>
But... the drawback for this method is that the visitors own mail program will be used to send the form information and he/she will be able to prevent sending that info by deleting the email from the Outbox. Then you will never receive a thing.
So... if possible I would definitely go for the server-side solution.
Hope this helps.
--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/
Replied 20 Dec 2002 12:05:31
20 Dec 2002 12:05:31 Kim Polley replied:
Hi
I have a form where I need to 'send to a friend' - how do I do that? I know how to send a form to a specific addresses that I included, but how do I send it to an anomynos (sp?) address?
I need to mimick this one:
www.peaceatwork.com/recommend/index.php3
I'm not a coder and using Dreamweaver MX but I know how to cut and paste code in.
Thanks heaps.
Kim
I have a form where I need to 'send to a friend' - how do I do that? I know how to send a form to a specific addresses that I included, but how do I send it to an anomynos (sp?) address?
I need to mimick this one:
www.peaceatwork.com/recommend/index.php3
I'm not a coder and using Dreamweaver MX but I know how to cut and paste code in.
Thanks heaps.
Kim