iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-10-2005, 12:56 PM
ohlson's Avatar
WebProWorld Member
 
Join Date: Apr 2004
Location: Costa Blanca Spain
Posts: 65
ohlson RepRank 0
Default Form to Thank You

Can someone please tell me how to make a form open up into a thank you page after a client has sent it in? I am using the POST method. Is the answer in the TARGET BOX?
Regards
Ian
__________________
Property for sale Spain, Turkey, Brazil, PANAMA www.daydreamvillas.co.uk
Private Property rentals across the World www.gamasl.co.uk
Reply With Quote
  #2 (permalink)  
Old 12-10-2005, 01:46 PM
dharrison's Avatar
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: May 2005
Location: Essex, UK
Posts: 1,289
dharrison RepRank 4dharrison RepRank 4dharrison RepRank 4
Default

Hi Ian

The method I've sworn by for years is:

<input type="hidden" name="redirect" value="http://www.YOURDOMAIN.com/pmt/thankyou.htm" />

HTH
__________________
Deb Harrison
DVH Design
Essex Web Design
Reply With Quote
  #3 (permalink)  
Old 12-10-2005, 02:05 PM
ADAM Web Design's Avatar
WebProWorld 1,000+ Club
 
Join Date: Dec 2003
Location: Toronto, Ontario, Canada
Posts: 2,181
ADAM Web Design RepRank 1
Default

Ian,

It really depends on the programming language that you're using and how it processes form input.

Personally, I use ASP and direct the form to itself, using a querystring to distinguish whether the form has been posted or not.

http://www.adamwebdesign.ca/contact_adam_web_design

Try it out. You'll see the querytring in question (the part after the ?) when you submit stuff. Just make sure you indicate who you are and that you're just messing with my form.

The email address is also concealed that way, thus keeping it from evil spammy types.
Reply With Quote
  #4 (permalink)  
Old 12-10-2005, 03:45 PM
dharrison's Avatar
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: May 2005
Location: Essex, UK
Posts: 1,289
dharrison RepRank 4dharrison RepRank 4dharrison RepRank 4
Default

Sorry yes my method was using a form script like formmail.pl.

Apologies for not mentioning that before (oops)
__________________
Deb Harrison
DVH Design
Essex Web Design
Reply With Quote
  #5 (permalink)  
Old 12-10-2005, 04:20 PM
ohlson's Avatar
WebProWorld Member
 
Join Date: Apr 2004
Location: Costa Blanca Spain
Posts: 65
ohlson RepRank 0
Default

I work with Namo WebEditor. When I highlight the form up comes a box with

Form name Here I have added the forms name

Target Here you can choose from _blank _self _parent _top

Action My domain ?Subject=Web Form Response (This sends form to me)

Method Post

Encoding type Text/Plain

What I am trying to do is to make it open into a thank you page once the client has sent the form.

Regards

Ian
__________________
Property for sale Spain, Turkey, Brazil, PANAMA www.daydreamvillas.co.uk
Private Property rentals across the World www.gamasl.co.uk
Reply With Quote
  #6 (permalink)  
Old 12-10-2005, 05:20 PM
ADAM Web Design's Avatar
WebProWorld 1,000+ Club
 
Join Date: Dec 2003
Location: Toronto, Ontario, Canada
Posts: 2,181
ADAM Web Design RepRank 1
Default

ohlson: the answer to this will depend not on your editor, but the script processing the form. This is defined in the action attribute, and it will be the part just before the "?subject=".

Once you know the name of the script or the file processing it, you can either find documentation on it to find the correct hidden form field to use or you can hard-code in a redirect (if you know the programming language used).

Depending on the script, others here may have used it, and you may be able to ask here.

So...look up the action attribute and tell us what it says, and we can go from there.

Sorry about not really making that clear earlier.
Reply With Quote
  #7 (permalink)  
Old 12-12-2005, 04:44 AM
MuNKyonline's Avatar
WebProWorld Veteran
 
Join Date: Jun 2004
Location: Suffolk, England
Posts: 777
MuNKyonline RepRank 2
Default

It sounds like you're just using the mailto for the target of the form and so you're not using a script at all. Using this method I do not think it is possible to have a thank you page.

As dharrison and Adam have said, you will need a script to have a thank you page. I personally use php for my script. Whichever script you choose - this is the target of the form.

Have a look on Hotscripts.com you may find something suitable there.

HTH =)
Reply With Quote
  #8 (permalink)  
Old 12-12-2005, 08:15 AM
dharrison's Avatar
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: May 2005
Location: Essex, UK
Posts: 1,289
dharrison RepRank 4dharrison RepRank 4dharrison RepRank 4
Default

As you're using mailto, that kinda puts my theory out the window. Munky is right, there is no way to have a thank you page using the mailto method.

As an alternative solution, you can use a bit of JavaScript where a thank you window pops up when someone submits a form. I use a similar thing for one of my clients www.jgmracing.co.uk

HTH
__________________
Deb Harrison
DVH Design
Essex Web Design
Reply With Quote
  #9 (permalink)  
Old 12-12-2005, 12:26 PM
ADAM Web Design's Avatar
WebProWorld 1,000+ Club
 
Join Date: Dec 2003
Location: Toronto, Ontario, Canada
Posts: 2,181
ADAM Web Design RepRank 1
Default

I don't think he's using mailto, since he said the action attribute of the form was set to his domain, not his email. Hence my advice.
Reply With Quote
  #10 (permalink)  
Old 12-15-2005, 05:33 AM
dharrison's Avatar
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: May 2005
Location: Essex, UK
Posts: 1,289
dharrison RepRank 4dharrison RepRank 4dharrison RepRank 4
Default

Quote:
Originally Posted by ADAM Web Design
I don't think he's using mailto, since he said the action attribute of the form was set to his domain, not his email. Hence my advice.
I was quoting info from Munky's previous post.
__________________
Deb Harrison
DVH Design
Essex Web Design
Reply With Quote
  #11 (permalink)  
Old 12-15-2005, 06:11 AM
MuNKyonline's Avatar
WebProWorld Veteran
 
Join Date: Jun 2004
Location: Suffolk, England
Posts: 777
MuNKyonline RepRank 2
Default

Surely if it's pointed at his domain name and not an already established script then it's a mailto link?

Unless cgi scripts can pick up post information directly from the domain name? I just thought he meant something@mydomainname and not his actual domain name.

Maybe ohlson could give us more information so we can get a better idea. I'm probably wrong though =P
Reply With Quote
  #12 (permalink)  
Old 12-16-2005, 05:21 AM
MuNKyonline's Avatar
WebProWorld Veteran
 
Join Date: Jun 2004
Location: Suffolk, England
Posts: 777
MuNKyonline RepRank 2
Default

Code:
<FORM class=body accept-charset=UTF-8 action="mailto:spain@yahoo.co.uk?Subject=Web Form Response OUR PETS " 
method=post encType="Text/Plain" name="Pets to go" target="_blank">
This is the code that will affect the form. At the moment you are using a mailto link. A mailto link is a link that when clicked on, will open up the users e-mail client and place the address from the link in the To Field. Yours also has the "?Subject". This adds the text following this into the Subject Field of the e-mail.

To be able to have a thankyou page, you will need to have a script that handles the e-mail instead of the mailto link. So instead it will be - action="script".
Reply With Quote
  #13 (permalink)  
Old 12-16-2005, 12:42 PM
ohlson's Avatar
WebProWorld Member
 
Join Date: Apr 2004
Location: Costa Blanca Spain
Posts: 65
ohlson RepRank 0
Default

Hi
So how and where do I find the correct place on the page to insert this code?

Regards

Ian
__________________
Property for sale Spain, Turkey, Brazil, PANAMA www.daydreamvillas.co.uk
Private Property rentals across the World www.gamasl.co.uk
Reply With Quote
  #14 (permalink)  
Old 12-19-2005, 04:17 PM
WebProWorld Veteran
 
Join Date: Apr 2005
Location: Winter Park, FL
Posts: 616
KeithO RepRank 0
Default

it should be placed before the input fields begin.
Reply With Quote
  #15 (permalink)  
Old 12-19-2005, 06:05 PM
MarcieZoob's Avatar
WebProWorld Veteran
 
Join Date: Jul 2004
Location: Michigan, USA
Posts: 931
MarcieZoob RepRank 2
Default

Try Mail Manage EX - it's easy to install, uses a Thank you HTML page, sends a thank you email to the submitter and will also save the contact info for you a CSV file on your server.
__________________
Marcie Wolf
AlphaGeek Web Design | MarcieWolf.com
Reply With Quote
  #16 (permalink)  
Old 12-27-2005, 10:37 AM
WebProWorld Veteran
 
Join Date: Sep 2003
Posts: 322
Mac 5 RepRank 1
Default

<INPUT TYPE="hidden" NAME="redirect" VALUE="http://www.yourdomain.com/thanks.html">
Reply With Quote
  #17 (permalink)  
Old 12-27-2005, 11:27 AM
Faglork's Avatar
WebProWorld Veteran
 
Join Date: Feb 2005
Location: Forchheim, Germany
Posts: 938
Faglork RepRank 1
Default

Quote:
Originally Posted by MarcieZoob
[...] and will also save the contact info for you a CSV file on your server.
... in that case this should be mentioned in your privacy policy.

faglork
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 06:39 PM.



Search Engine Optimization by vBSEO 3.3.0