Form directs user to wrong thankyou page.

Discussion in 'HTML' started by Familyman, Nov 2, 2005.

  1. Familyman

    Familyman Guest

    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="" 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: ">
     
    Familyman, Nov 2, 2005
    #1
    1. Advertising

  2. Familyman

    Els Guest

    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_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?

    --
    Els http://locusmeus.com/
    Sonhos vem. Sonhos vão. O resto é imperfeito.
    - Renato Russo -
     
    Els, Nov 2, 2005
    #2
    1. Advertising

  3. Familyman

    Familyman Guest

    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?
     
    Familyman, Nov 2, 2005
    #3
  4. Familyman

    Familyman Guest

    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
     
    Familyman, Nov 2, 2005
    #4
  5. 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
     
    Jonathan N. Little, Nov 2, 2005
    #5
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Familyman
    Replies:
    1
    Views:
    387
    Familyman
    Nov 2, 2005
  2. AtomicBob
    Replies:
    14
    Views:
    896
    Toby Inkster
    May 2, 2006
  3. Donn Cave
    Replies:
    0
    Views:
    404
    Donn Cave
    Apr 11, 2008
  4. shapper
    Replies:
    2
    Views:
    246
    shapper
    Nov 7, 2008
  5. Paul

    ASP Page to cycle re-directs

    Paul, Apr 4, 2009, in forum: ASP General
    Replies:
    1
    Views:
    131
Loading...

Share This Page