What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

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

    Asked by dbrinkhus 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
    JotForm Founder

    Answered by aytekin 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 by markashton 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 by kimskim 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.