Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Form directs user to wrong thankyou page.

Reply
Thread Tools

Form directs user to wrong thankyou page.

 
 
Familyman
Guest
Posts: n/a
 
      11-02-2005
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 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: ">


 
Reply With Quote
 
 
 
 
Els
Guest
Posts: n/a
 
      11-02-2005
Familyman wrote:

> 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_bi.../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?

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
 
Reply With Quote
 
 
 
 
Familyman
Guest
Posts: n/a
 
      11-02-2005
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?



 
Reply With Quote
 
Familyman
Guest
Posts: n/a
 
      11-02-2005
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


 
Reply With Quote
 
Jonathan N. Little
Guest
Posts: n/a
 
      11-02-2005
Familyman wrote:
> 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?
>
>
>



--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP Page to cycle re-directs Paul ASP General 1 04-04-2009 06:07 PM
Re: pty.spawn directs stderr to stdout Donn Cave Python 0 04-11-2008 08:02 PM
Form field entry directs to diff URLs based on entry? AtomicBob HTML 14 05-02-2006 07:07 AM
tough and challenge questions from a cisco exam.need help. thankyou very much dog75 Cisco 13 04-03-2006 12:21 AM
Form directs user to wrong thankyou page Familyman HTML 1 11-02-2005 07:23 PM



Advertisments