Thank You message not appearing in iframe

  • mbauerCOM
    Asked on January 30, 2015 at 10:24 AM

    Hello,

    I've made a very simple "enter your email" form and would like it to display a simple "Thank You" message upon completion. When I test it with the "Preview" tool in JotForm it works.  However when I put it on my site, the thank you message doesn't appear.  Also, when I test the iframe from the embed pop-up window it doesn't appear either.  If I inspect the code I can see the block, I'm just not sure why it's not visible.  Any ideas on what I'm doing wrong?

    Thank you!

  • Welvin Support Team Lead
    Replied on January 30, 2015 at 1:04 PM

    Hi,

    That's because the height of the form is too small. I checked your page source codes and found out that your form embed codes doesn't have the height parameter:

    Thank You message not appearing in iframe Image 1 Screenshot 20

    To fix that, re-embed your form using our iframe method: https://www.jotform.com/help/148-Getting-the-Form-iFrame-Code and make sure not to remove the height value of the iframe. Just adjust the value, but don't remove it.

    Thanks

  • mbauerCOM
    Replied on January 30, 2015 at 1:16 PM

    OK I tried that and it still didn't work.

    It also doesn't work when I try in the preview on the embed pop-up found here:

    Thank You message not appearing in iframe Image 1 Screenshot 20

     

    If I press preview and test it, the "Thank You" message doesn't show up and I didn't alter that code at all.

     

    Thanks,

    Mark

  • KadeJM
    Replied on January 30, 2015 at 2:48 PM

    It seems there's a minor issue with the iframe preview possibly on your end since I couldn't replicate it. I would advise clearing your browser cache then check again to see if that helps.

    Anyhow though, looking more at your problem with the thank you page not showing. I believe this is the result of the fact that your "Thank You" text is aligned to the far left so because of that it is cut off from being seen on your webpage. It's working for me for your standalone jotform

    Have you tried centering the text on thank you page to then try it that way perhaps to check the result on your webpage?

    Thank You message not appearing in iframe Image 1 Screenshot 20

  • mbauerCOM
    Replied on February 2, 2015 at 10:34 AM

    Nope, that wasn't it either. 

    I had to just start over and re-do the form (luckily it's a super simple form). I think it had something to do with the fact that the default padding on the form is 90px top and bottom!

    .jotform-form { padding : 90px 0; }

    I needed to change that to 0 padding and I think that was causing the thank you message to appear 90px down as it wasn't getting the 0 padding change. I must have done it improperly the first time or something, because the new one seems to be working fine.

    *edit* I also added a min-height to the Thank You message html, maybe that was it?