HighDots Forums  

Creating a Thank You Page after a form has been sent?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Creating a Thank You Page after a form has been sent? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Toby-Joe webforumsuser@macromedia.com
 
Posts: n/a

Default Creating a Thank You Page after a form has been sent? - 11-01-2003 , 03:52 AM






How can I create a link to another page once a person has clicked on the send button. I want to have a thank you page so that they know that their form went through rather than having the same page sit there and they are unsure what has happened.

Thanks

Please give in basic Dreamweaver MX language (no HTML code please - still learning the basics here)



Reply With Quote
  #2  
Old   
*Nadia*
 
Posts: n/a

Default Re: Creating a Thank You Page after a form has been sent? - 11-01-2003 , 04:34 AM






How are you processing your form? Is it the standard cgi FormMail? or asp,
cf.
There is generally a 'redirect' link in the form to send the person to
another page...
Let us know what you are using and someone can help a bit more..

--
Nadia
-----------------------------------------------
:Templates:Nav Bars:Web Biz Tools:
http://www.DreamweaverResources.com
: "FREE" & Commercial NavBar Menu Sets :
:Shopping Cart & Content Management System:
http://www.perrelink.com.au/
-----------------------------------------------

"Toby-Joe" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
How can I create a link to another page once a person has clicked on the
send button. I want to have a thank you page so that they know that their
form went through rather than having the same page sit there and they are
unsure what has happened.
Quote:
Thanks

Please give in basic Dreamweaver MX language (no HTML code please - still
learning the basics here)




Reply With Quote
  #3  
Old   
yesmaybe webforumsuser@macromedia.com
 
Posts: n/a

Default Re: Creating a Thank You Page after a form has been sent? - 11-01-2003 , 04:41 AM



There are different ways to do this.

Please explain which kind of form mailer you are using.

have a look at these extra fields you can use:
http://www.scriptarchive.com/readme/....html#redirect



Reply With Quote
  #4  
Old   
eddie
 
Posts: n/a

Default Re: Creating a Thank You Page after a form has been sent? - 11-01-2003 , 06:55 AM




If you are using a cgi script try this
enter the following code at the top of the form, the ACTION bit needs to
point to your cgi script

<FORM METHOD="post" ACTION="http://www.yoursite.com/cgi-bin/mailto.cgi">
<input type=hidden name="recipient" value=youremailaddress (AT) yourhost (DOT) com>
<input type=hidden name="subject" value="contact me">
<input type=hidden
name="redirect"value="http://www.yoursite.com/thankyou.htm">

then create a page with a message on saying thank you etc and save it as
thankyou.htm
When a visitor fills in the form the bottom line above will redirect to the
thankyou.htm page
If you dont have a mailto.cgi script contact me and I will send you one
Regards
Edward
eddiej (AT) dsl (DOT) pipex.com



"Toby-Joe" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
How can I create a link to another page once a person has clicked on the
send button. I want to have a thank you page so that they know that their
form went through rather than having the same page sit there and they are
unsure what has happened.
Quote:
Thanks

Please give in basic Dreamweaver MX language (no HTML code please - still
learning the basics here)





Reply With Quote
  #5  
Old   
James Loudon
 
Posts: n/a

Default Re: Creating a Thank You Page after a form has been sent? - 11-01-2003 , 09:17 AM



Depending on the script you use: I am used to putting in a hidden form field
named "redirect" with a value of thanks.htm or whatever you have called your
page. Insert from the forms paulette.

--
James Loudon
www.fatgraphics.com
websites:hotography::video


All outgoing (and incoming) mail
is scanned by Norton AV and is as
guaranteed to be as bug-free as possible.
"Toby-Joe" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
How can I create a link to another page once a person has clicked on the
send button. I want to have a thank you page so that they know that their
form went through rather than having the same page sit there and they are
unsure what has happened.
Quote:
Thanks

Please give in basic Dreamweaver MX language (no HTML code please - still
learning the basics here)





Reply With Quote
  #6  
Old   
Dan Vendel *GOF*
 
Posts: n/a

Default Re: Creating a Thank You Page after a form has been sent? - 11-01-2003 , 10:05 AM



"Toby-Joe" webforumsuser (AT) macromedia (DOT) com wrote:

Quote:
How can I create a link to another page once a person has clicked on the send button. I want to have a thank you page so that they know that their form went through rather than having the same page sit there and they are unsure what has happened.

Thanks

Please give in basic Dreamweaver MX language (no HTML code please - still learning the basics here)


Making GOOD forms that'll work might take some time depending on your
experience, etc.
Check the formmail tutorial in my signature. Might help you....

--
Dan Vendel - *GOF*
Contact me directly at http://contact.vendel.info
Formmail tutorial at http://www.vendel.info/tut/formmail.html
Nested table demonstration at http://www.vendel.info/tabletut/
Search Engine Optimization & Rank Control Utility at http://awr.vendel.info
Search Dreamweaver newsgroup at http://shorterlink.com/?I603G6



Reply With Quote
  #7  
Old   
Paul Taylor
 
Posts: n/a

Default Re: Creating a Thank You Page after a form has been sent? - 11-01-2003 , 01:28 PM



On Sat, 1 Nov 2003 11:55:32 -0000, "eddie" <xcb70 (AT) dial (DOT) pipex.com>
wrote:

Quote:
If you are using a cgi script try this
enter the following code at the top of the form, the ACTION bit needs to
point to your cgi script

FORM METHOD="post" ACTION="http://www.yoursite.com/cgi-bin/mailto.cgi"
input type=hidden name="recipient" value=youremailaddress (AT) yourhost (DOT) com
input type=hidden name="subject" value="contact me"
input type=hidden
name="redirect"value="http://www.yoursite.com/thankyou.htm"

then create a page with a message on saying thank you etc and save it as
thankyou.htm
When a visitor fills in the form the bottom line above will redirect to the
thankyou.htm page
If you dont have a mailto.cgi script contact me and I will send you one
Regards
Edward
eddiej (AT) dsl (DOT) pipex.com


The problem with this method is that you are leaving your email
address in the source code, inside the recipient hidden field.

It would be far better to use a script that stores the email address
only on the server. I did a hack on the formmail.php script, so that
it only stores addresses server-side. It's far safer. Otherwise spam
harvesting programs will cream off your address, and send you all
sorts of rubbish.


Paul Taylor


Reply With Quote
  #8  
Old   
Toby-Joe webforumsuser@macromedia.com
 
Posts: n/a

Default Re: Creating a Thank You Page after a form has been sent? - 11-01-2003 , 03:48 PM



I'm using a basic cgi script with Dreamweaver MX



Reply With Quote
  #9  
Old   
Alan Ames _TMM_
 
Posts: n/a

Default Re: Creating a Thank You Page after a form has been sent? - 11-01-2003 , 04:04 PM




Quote:
I'm using a basic cgi script with Dreamweaver MX
WHAT cgi script?
What is the name of it?
Where is it from?
What does it's Author/Readme say about a redirect on success?

the answer is going to be specific to THAT script you are using- there's no
general answer.

looked at the contact page listed in another thread, that is set for a
mailto: so no leads to what script is going to be used.


--
Team Macromedia Volunteer for Dreamweaver
Certified Dreamweaver MX Developer



Reply With Quote
  #10  
Old   
Simon Day
 
Posts: n/a

Default Re: Creating a Thank You Page after a form has been sent? - 11-02-2003 , 04:43 PM



Paul Taylor wrote:
Quote:
On Sat, 1 Nov 2003 11:55:32 -0000, "eddie" <xcb70 (AT) dial (DOT) pipex.com
wrote:


If you are using a cgi script try this
enter the following code at the top of the form, the ACTION bit needs to
point to your cgi script

FORM METHOD="post" ACTION="http://www.yoursite.com/cgi-bin/mailto.cgi"
input type=hidden name="recipient" value=youremailaddress (AT) yourhost (DOT) com
input type=hidden name="subject" value="contact me"
input type=hidden
name="redirect"value="http://www.yoursite.com/thankyou.htm"

then create a page with a message on saying thank you etc and save it as
thankyou.htm
When a visitor fills in the form the bottom line above will redirect to the
thankyou.htm page
If you dont have a mailto.cgi script contact me and I will send you one
Regards
Edward
eddiej (AT) dsl (DOT) pipex.com



The problem with this method is that you are leaving your email
address in the source code, inside the recipient hidden field.

It would be far better to use a script that stores the email address
only on the server. I did a hack on the formmail.php script, so that
it only stores addresses server-side. It's far safer. Otherwise spam
harvesting programs will cream off your address, and send you all
sorts of rubbish.


Paul Taylor
NMS Formmail at: http://nms-cgi.sourceforge.net is the most recent cgi
formmail script. It hides your email addresses and it the most secure
script to date. Well worth using!

--

Simon Day
http://www.clearbluemedia.net
Free desktop wallpapers of Torbay at: http://www.simonday.com



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.