Form directs user to wrong thankyou page.

F

Familyman

I am trying to make my form direct the user to the correct THANKS.HTM page
when the submit the form. They keep going to the wrong THANKS.HTM page.

Here's where I want the form to send them...
http://www.astutechoices.com/karakariki/thanks.htm

But they go to another on my pages. Can you spot my error?
I'd appreciate any help.

Hank.

The form is at ...
http://www.karakariki.astutechoices.com
The correct thank you page is at...
http://www.astutechoices.com/karakariki/thanks.htm

My code follows:
<form action="../_vti_bin/shtml.exe/events/contactus.htm" method=POST
onsubmit="return FrontPage_Form1_Validator(this)" language="JavaScript"
name="FrontPage_Form1" webbot-action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" S-Email-Format="HTML/UL"
S-Email-Address="(e-mail address removed)" B-Email-Label-Fields="TRUE"
B-Email-ReplyTo-From-Field="TRUE" S-Email-ReplyTo="Email"
B-Email-Subject-From-Field="FALSE" S-Email-Subject="AstuteChoice Form
Response" S-Date-Format="%d-%b-%Y" S-Time-Format="%I:%M:%S %p %Z"
S-Builtin-Fields="REMOTE_NAME HTTP_USER_AGENT Date Time"
U-Confirmation-Url="http://www.astutechoices.com/karakariki/thanks.htm"
startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot
bot="SaveResults" i-checksum="43374" endspan --><input type=hidden name="id"
value="8657"><input type=hidden name="subject" value="Karakariki Neighbour
Call: ">
 
E

Els

Familyman said:
I am trying to make my form direct the user to the correct THANKS.HTM page
when the submit the form. They keep going to the wrong THANKS.HTM page.

Here's where I want the form to send them...
http://www.astutechoices.com/karakariki/thanks.htm

But they go to another on my pages. Can you spot my error?
I'd appreciate any help.

Hank.

The form is at ...
http://www.karakariki.astutechoices.com
The correct thank you page is at...
http://www.astutechoices.com/karakariki/thanks.htm

My code follows:
<form action="../_vti_bin/shtml.exe/events/contactus.htm" method=POST
onsubmit="return FrontPage_Form1_Validator(this)" language="JavaScript"
name="FrontPage_Form1" webbot-action="--WEBBOT-SELF--">

The url of the thank you message I get on your site, happens to be
http://www.astutechoices.com/_vti_bin/shtml.exe/events/contactus.htm
Looks like the value of the action attribute of the form element
mentioned above.

Doesn't that value need to be the url to the actual script?
 
F

Familyman

I changed that code to read ...
<form action="http://www.astutechoices.com/karakariki/thanks.htm"
method=POST onsubmit="return FrontPage_Form1_Validator(this)"
language="JavaScript" name="FrontPage_Form1"
webbot-action="--WEBBOT-SELF--">

But I get an error ...
"The requested method POST is not allowed for the URL
/karakariki/thanks.htm"

Do you know what I am doing wrong here?
 
F

Familyman

You're onto it!
Thank you so much for helping me see that solution.

I changed it as follows and it works properly now.

<form action="../_vti_bin/shtml.exe/karakariki/index.htm" method=POST
onsubmit="return FrontPage_Form1_Validator(this)" language="JavaScript"
name="FrontPage_Form1" webbot-action="--WEBBOT-SELF--">

Hank
 
J

Jonathan N. Little

Familyman said:
I changed that code to read ...
<form action="http://www.astutechoices.com/karakariki/thanks.htm"
method=POST onsubmit="return FrontPage_Form1_Validator(this)"
language="JavaScript" name="FrontPage_Form1"

^^^^^^^^ 'language'? What language attribute for the 'form' element?
webbot-action="--WEBBOT-SELF--">
^^^^^^^^^^^^^ must be proprietary like this one!
But I get an error ...
"The requested method POST is not allowed for the URL
/karakariki/thanks.htm"

Do you know what I am doing wrong here?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top