Can a custom url Thank You page open within the iframe area?

  • Profile Image
    Asked on June 17, 2010 at 01:02 PM
    I have created a custom url to generate after submission, and it works sucessfully.  However, it opens in a new page or window.  I have my form in an iframe, and I would like the custom url thank you page to take its place within that area, so you are not directed away from the contact page.  

    I tried a "_self" command but it didnt work.  Please show me the correct way.  Thanks!
  • Profile Image
    Answered on June 22, 2010 at 03:58 AM
    This is really a difficult issue because we had it exactly like you described and most people asked  the Thank You URL to be opened in the full window.

    You should probably put the full form source code on a page on your site and include that using an iframe. And then the Thank You page would be shown inside the iframe.
  • Profile Image
    Answered on June 24, 2010 at 04:40 AM
    I think it is entirely logical to want/expect the thankyou page to appear within the iframe. I am amazed that most people - I understand that to be Webmasters using this site - would actually want the _parent to load the Thanks message. I'm sure that if I tested 20 people with the two options I'd get more than 80% wanting it to load in the Iframe. I've just tested it with my mom and she didn't know what I was talking about so I'll get a more savvy audience :)
  • Profile Image
    Answered on July 13, 2010 at 02:58 PM

    It's tricky because if there's payment involved, you really, really don't want the payment processor screen (Paypal, for example) to load in the little iframe b/c it doesn't fit.  That needs to be in the main screen area (needs to bust out of the iframe that called it).  Not sure how you can have it both ways with the Paypal screen in the main area and the thank you back in the iframe.