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

    Lightbox causing errors on page

    Asked by JKulp42757 on October 24, 2016 at 10:35 AM

    I'd like to implement a lightbox on some of the pages of my site. However, when I add the code, the page is not loading correctly. I assume there is some type of conflict but I am not sure how to resolve this.

     

    You can see what the page SHOULD look like (this page does not have the lightbox code).

    goo.gl/S14F5v

     

    And here is what happens WITH the lightbox code. Notice the formatting issues, footer not loading correctly, etc... that appear.

    goo.gl/WyRpxq

     

    The code I am using is:

     

    JotForm style size height
  • Profile Image
    JotForm Support

    Answered by Kiran on October 24, 2016 at 01:37 PM

    I have checked the second web page link and see that the Lightbox is displaying correctly at my end. Please see the screenshot below:

    It looks like that we have experienced a temporary issue with the lightbox and it seems that the issue is now resolved now. Please check at your end and let us know if you are still experiencing the issue. We will be happy to assist you further. 

  • Profile Image

    Answered by JKulp42757 on October 25, 2016 at 12:36 PM

    The lightbox displays correctly. However, that's not the problem. The problem is that it makes the web page load incorrectly. Close the lightbox and then compare the 2 links side by side...you'll see what I mean.

    Also, I don't know why the title says "lightbox not opening". That wasn't my original title, and it's not reflective of the problem I am experiencing. Thanks!

  • Profile Image
    JotForm Support

    Answered by Kiran on October 25, 2016 at 03:04 PM

    It seems that the form light-box script is conflicting with the other scripts on your WordPress web page. Did you check if the web page is loading normally after removing the form embed code? Could you also check with any other plugins that are conflicting with the form scripts?

    As I check the browser console, it looks like that the-grid plugin and custom javascript in the template are getting conflicted. Could you try disabling the plugin and see if that helps?

    Let us know if you need any further assistance. We will be happy to assist.  

  • Profile Image

    Answered by JKulp42757 on October 25, 2016 at 04:54 PM

     Did you check if the web page is loading normally after removing the form embed code?

    Yes, when the lightbox code is not there, the page loads as it should.

     

    What would the solution be to keep the-grid from conflicting with the lightbox code? I can't disable the-grid, I need that to work too.

  • Profile Image
    JotForm Support

    Answered by Kiran on October 25, 2016 at 09:12 PM

    Could you try removing the number 2 from feedback2.js in the form embed code which should be displaying as shown below?

    <script src="https://form.jotform.com/static/feedback.js?3.3.REV" type="text/javascript">

    var JFL_62946046071961 = new JotformFeedback({

    formId: '62946046071961',

    base: 'https://form.jotform.com/',

    windowTitle: '506c Accredited Confirmation DahnAmerica',

    background: '#FFA500',

    fontColor: '#FFFFFF',

    type: 'false',

    height: 500,

    width: 700,

    openOnLoad: true });

    </script>

    This should be loading our prototype version of the lightbox, instead of the JQuery version of lightbox that feedback2.js is loading.

    Please give it a try and let us know if the issue still persists. We will be happy to assist. 

     

  • Profile Image

    Answered by JKulp42757 on October 26, 2016 at 06:58 PM

    thanks for that tip. I will give this a try and report back.