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

    JotForm Lightbox: Javascript conflict in Shopify website

    Asked by pawpykisses on July 24, 2017 at 04:57 PM

    Hello there, 

    I am using Shopify for my website. I am trying to embed the lightbox form into a page. The code I got from Jotform is below: 



    Shopify wouldn't allow me to directly embed the code in the page source code (I might be wrong about this). So I added the script to theme.liquid file and the code for the button on the page.

    Theme.liquid file:

    .jotformscript {



    Page source code:


    The page loads fine. But the page is showing there's something wrong with the script (see attached picture). Some other functions on the website are affected as well. 


    Thank you so much in advanced for your help. I really appreciate it!

    Page URL:

  • Profile Image
    JotForm Support

    Answered by Mike on July 24, 2017 at 07:10 PM

    Please try to place (move) the JotForm Lightbox code before other scripts in the head section.

    You can also remove the .jotformscript { } code.

    If you need any further assistance, please let us know.