form in iframe...

  • Profile Image
    Asked on August 31, 2011 at 07:22 AM

    Hi I have placed the form in an iframe successfully and am trying to utilise the automated URL redirct thank you page on submittion of form. However when I fill out form it does successfully forward me to the correct URL depending on what I submitted but it does not stay inside the refreshes the page and loads the thank you URL in the whole page not in the iframe. please can you help me so that when I click submit the forms and the the custom url stay inside the iframe inside the orignial page. 


    Sorry if this is not clear.



  • Profile Image
    Answered on August 31, 2011 at 09:55 PM

    Hi David,

    Thank you for using JotForm.

    First, we do apologize for any inconvenience this has caused you. In order to make the thank you page load inside the iFrame, you can try adding  in your iFrame tag. This should solve your problem. 

    If you have any other questions, please feel free to contact us again. Our team will be more than happy to help you with anything.


    Albert  JotForm Support

  • Profile Image
    Answered on September 01, 2011 at 06:14 AM

    Thanks for help - sadly has not worked!... I tried

    <iframe allowtransparency="true" src="//" frameborder="0" style="width:595px; height:245px; border:none;" scrolling="no">

    But has not seemed to change anything. Is there any code within the javascripts that I could alter to make to load into the iframe? or any other solutions you could help me figure out...

    Thanks for your time


  • Profile Image
    Answered on September 01, 2011 at 07:22 AM

    Further investigated the problem - the form works fine within iFrame and loads the thank you in the iframe ONLY IF I USE your default Thank you Page or editable Thank you message - If I try using a custom URL it refreshs whole page and does not remain inside iFrame (even with Target set to _self) 

    I came up with a work around BUT this did not work either but maybe you can help me make it work...I thought if I could input a custom simple thank message which loads correctly then why can I not go into the html edited of this message and add a meta tag to refresh page inside iframe and load the page I want...basically using the Thank you page as a stop off towards where I want to go...theorectically this will definitely work BUT your online input does not retain the meta tag and when I downloaded the full source code and separate css and js files I cannot fond anywhere where this message is stored so couldn't edit it to work the way I want it to.

    PLease help if you can 

    Thank you so  much


  • Profile Image
    Answered on September 01, 2011 at 02:04 PM


    I think I may have addressed your issue in this releated thread where you posted as well. Let us know if you have further questions. Thanks!