+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Senior Member Beemer's Avatar
    Join Date
    Dec 2000
    Location
    Frost Bitten Canadian Boy
    Posts
    728

    Form Won't Go To New Page On Submit

    I've searched javascripts.com, tried there addition scripts to no avale. I'm using Front PageY2K and I can't figure out how to send the form user to a Thank You page. Is there a nice soul out there that wouldn't mind taking a look at a form and possibly give a suggestion?

    I've removed the attempts I've made and the form is in good working order.
    http://stopslipindustries.com/form.htm

    Cheers!

    [This message has been edited by Beemer (edited 07-29-2001).]

  2. #2
    Member
    Join Date
    Apr 2000
    Location
    Alberta, Canada
    Posts
    125
    Generally on a form, the 'Action' parameter in the form tag specifies a new page to go to when the form is submitted (usually for processing). You currently have it mailing yourself and the website it is on (which is fine and can also be done ).

    ACTION="mailto:beemer@beemerworld.com;sales@stopsl ipindustries.com?subject=Product Inquiry"

    If it is currently working and mailing to both emails, then you might be able to append a page name in there too, I've never tried multiple items in the 'Action' parameter before though. It would be something like this:

    ACTION="mailto:beemer@beemerworld.com;sales@stopsl ipindustries.com?subject=Product Inquiry;ConfirmPage.htm"

    It's worth a try possibly!

    I'm also wondering about your Subject in the second email, is it working? Since there is a space in the Subject line, I'm wondering if you might need single quotes around it??

    Another possibility might be to create a javascript function for the 'onsubmit' method that will include the current call to 'FrontPage_Form1_Validator(this)'.

    Something like this maybe:

    Code:
    <script language="JavaScript">
    <!--
    function fncCheckAndSubmit(theform){
      if(FrontPage_Form1_Validator(theform)){
          location = "ConfirmPage.htm";
          return true;
      }
      else{
          return false;
      }
    }
    //-->
    </script>
    *(Note: I am assuming the Frontpage function returns true or false, which it looks like it does)

    then the onsubmit would be:
    onsubmit="return fncCheckAndSubmit(this);"

    Other than this my mind fails me!! I just woke up...

    Good luck, hope this might help a little!


    [This message has been edited by ^hyd^ (edited 07-29-2001).]

  3. #3
    Member
    Join Date
    Apr 2000
    Location
    Alberta, Canada
    Posts
    125
    hhmmm, well, I copied the page and am playing around with it. Most I've gotten it to do is the email(I temporarily changed to my @home acct)! It seems like it is something to do with the webbot validation (Frontpage validation) which, if I remember correctly doesn't work in Netscape anyways.

    If I get something going I'll let you know.

  4. #4
    Senior Member Beemer's Avatar
    Join Date
    Dec 2000
    Location
    Frost Bitten Canadian Boy
    Posts
    728
    Thanks ^hyd^
    I really appreciate it.

    Cheers!

  5. #5
    Member
    Join Date
    Apr 2000
    Location
    Alberta, Canada
    Posts
    125
    Check your BeemerWorld email!

    Hopefully what I sent will work out!



    [This message has been edited by ^hyd^ (edited 07-29-2001).]

  6. #6
    Senior Member rh71's Avatar
    Join Date
    Oct 1999
    Location
    LI | NY
    Posts
    782
    For future reference, here's a great resource site: http://www.irt.org

  7. #7
    Senior Member Beemer's Avatar
    Join Date
    Dec 2000
    Location
    Frost Bitten Canadian Boy
    Posts
    728
    I tried adding the java above, below and inside the form and when I hit the send button, the page stays put.

    onsubmit="return fncCheckAndSubmit(this);"

    can the (this) in the line above be changed to the address of conform1.htm

    ?

    I'm wondering why Microsoft didn't put a forwarding function in the Front Page program??? It's seems kind of like a natural need of a form???

    Thanks for the help so far.

    Cheers!

    Oh! The Product Inquiry does set the subject line properly.

    [This message has been edited by Beemer (edited 07-29-2001).]

  8. #8
    Senior Member Beemer's Avatar
    Join Date
    Dec 2000
    Location
    Frost Bitten Canadian Boy
    Posts
    728
    Well, thanks to Chad, everything works now.
    We worked on a series of forms linking to thank you pages. Take a peek if you like.
    http://stopslipindustries.com/products.htm

    Inquiries, and all the buy links. Testing will end July31/01 so if you want to try out the process button, go ahead. E-mail format is only being checked so please use beemer as your name and beemer@beemerworld.com on your E-mail address.

    Thanks

    Cheers!
    PS: If you are serious about purchasing, use your real name and address of course. lol

    [This message has been edited by Beemer (edited 07-30-2001).]

  9. #9
    Member
    Join Date
    Aug 2001
    Posts
    45
    Well if you are using Frontpage2000 there is a simple way:

    First,

    Write the form in Frontpage2000 (WYSIWYG or not it doesn't matter) then you click inside the form area (outlined) and select in the menu:

    'Insert' - 'Form' - 'Form properties'.

    You go to options and it gives you the option to make a confirmation page which you write the address of in the correct text box.

    Glad to be of service hope this helps.

    If you want a solution in html then e-mail me and I will tell you that too.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts







New Security Features Planned for Firefox 4
Another Laptop Theft Exposes 21K Patients' Data
Oracle Hits to Road to Pitch Data Center Plans
Microsoft Preps Array of Windows Patches
Microsoft Nears IE9 Beta With Final Preview
Simplified Analytics Improve CRM, BI Tools
Android Passes RIM as Top Mobile OS in 2Q
VMware Updates Hyperic System Management
File Monitoring Key to Enterprise Security
LinkedIn Snaps Up SaaS Player mSpoke