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

  • jalbert19
    Asked on January 20, 2015 at 3: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.

     

    Thanks!

     

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

  • jonathan
    Replied on January 20, 2015 at 5:22 PM

    Hi,

    I see what you meant

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

    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.

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

     

    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.

    Thanks.