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

    How to prevent closing lightbox form when clicked on the background (already removed the x at the top)

    Asked by jalbert19 on January 20, 2015 at 03:45 PM

    We have a jotform that has been created.  It needs to be filled out before the website can be viewed.  What code do we need to embed on the page to disable the ability to click "past" the form without hitting submit.




    P.S. The Jotform doesn't show up until you hit "Skip all remaining sections and calculate now"

    Page URL:

  • Profile Image
    JotForm Support

    Answered by jonathan on January 20, 2015 at 05:22 PM


    I see what you meant

    When you click anywhere on the page, the lightbox form will close.

    But unfortunately, this how a lightbox behave. There are ways to override this but it will be done on your website page. I searched the internet and found this. Perhaps it can help in doing this on your website

    As an alternative to lightbox, perhaps you may want to use the Pop-up embed instead.


    The pop-up will not close when you click on the background page.

    Hope this help. Let us know if there is more we can assist you with.