Announcement

Collapse
No announcement yet.

Change target of Submit button?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Change target of Submit button?

    Hello. I have a form inside of an iframe that is on every page of my website. I want to make it so that when the submit button is clicked, the "Thank you" page shows up in the whole browser, not just the iframe. Also, I really don't want to use an error page, since I have custom error messages that pop up when bad data is entered. How do I disable the error page? I tried just deleting the "./error.html" out of the field for it... but that didn't work... I think.

    Can someone let me know how I can do this??

    Thanks!!
    My BlueVoda Sites:

    http://www.jeffdoaninc.com

  • #2
    Re: Change target of Submit button?

    Welp, 45 minutes later.... I figured it out on my own!

    Just in case anyone else wants to know how to do this, I will write up a summary shortly after I'm finished publishing :)
    My BlueVoda Sites:

    http://www.jeffdoaninc.com

    Comment


    • #3
      Re: Change target of Submit button?

      Ahhh... I think I spoke too soon. I did get it to work and open in the "_top" window, but now the form will not send me the data. I was able top make the "Thank You" page open outside of the iframe in the "_top" window by adding this to the submit button's events:

      The event is an "onClick" with the action "Javascript Function"

      My javascript code is: window.open('/thankyou.php','_top');

      This works and the Thank You page opens in the entire window... but I don't get the data!! Help!! :(
      My BlueVoda Sites:

      http://www.jeffdoaninc.com

      Comment


      • #4
        Re: Change target of Submit button?

        Remove the event. It simply opens the thankyou page without sending any info.

        Right click the form, and select HTML, then , in the Inside tag, add this code:

        target="_parent"
        Navaldesign
        Logger Lite: Low Cost, Customizable, multifeatured Login script
        Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
        DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
        Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

        Comment


        • #5
          Re: Change target of Submit button?

          Thank you for your reply! I was worried that a more technical question might go unanswered. However, I ended up scratching the idea to load the Thank You page in the entire window, and created a smaller version of it in order to just simply let it load in the iframe.

          Again, thank you!
          My BlueVoda Sites:

          http://www.jeffdoaninc.com

          Comment

          Working...
          X