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

    2 different iframes showing the same jotform

    Asked by youssef  on November 17, 2014 at 11:56 AM

    I have embed an iframe for my reviews that come from another website on the same page that I have embedded my Jot contact form iframe. The "Jot contact form" start to show in the reviews iframe. I think there is an iframe conflict. Any help Please.

     

    JotFom Iframe code:

    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//form.jotform.us/form/42927070847158" frameborder="0" style="width:100%; height:750px; border:none;" scrolling="no"></iframe>
    <script type="text/javascript">window.handleIFrameMessage = function(e) {var args = e.data.split(":");var iframe = document.getElementById("JotFormIFrame");if (!iframe)return;switch (args[0]) {case "scrollIntoView":iframe.scrollIntoView();break;case "setHeight":iframe.style.height = args[1] + "px";break;}};if (window.addEventListener) {window.addEventListener("message", handleIFrameMessage, false);} else if (window.attachEvent) {window.attachEvent("onmessage", handleIFrameMessage);}</script>

     

    Reviews Code:

    <iframe src="//www.smilereminder.com/vs/reviews/pearl_smile_dental_braces?limit=50" style="border: 0;" width="475" height="6000" frameborder="0" scrolling="yes"></iframe>

     

     

    thanks

    Screenshot
    contact form JotForm iframe code
  • Profile Image

    Answered by Ben on November 17, 2014 at 12:19 PM

    Hi Youssef,

    Based on the screenshot I can tell you that the iframes seem to both be linking to our jotform.

    If you have included the code to the page as above I do not see any reasons why this would happen.

    Since the screenshot shows that the page is on your local computer I would like to ask you if you could upload it somewhere for a quick moment so that we can take a look at, or at least upload the code from the page?

    If you would upload the code, I recommend using pastebin or some other such service that would allow us to see the code.

    Best regards,
    Ben