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

  • Profile Image
    Asked 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"

  • Profile Image
    Answered 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.