Lightbox Contact Form won't close when there is a captcha field on the form

  • Profile Image
    Tomas Dietz
    Asked on July 21, 2011 at 11:00 AM


    I just set up a Jotform contact form and embedded it as a Lightbox on my website (  The code was copied to my website html page in tact and all that was modified was the 'color:blue' and the form title 'Contact the Flamenco Centre', which I changed in my html page to [ Enrol/ Contact Us ] and [ Contact Us ] at various places on the website page.

    The form downloads ok, albeit a bit slow, but the problem is it won't close down.  The 'X' button ('close' button on top right corner) is not sensitive to my cursor.  I have to close down my entire page to get rid of it.

    Please advise.



    FYI here's the code as provided by you, and below it what I've changed:

    Contact The Flamenco Centre


    [ Contact Us ]

  • Profile Image
    Answered on July 22, 2011 at 03:17 AM

    Hi Tomas,

    I opened your form and was able to replicate the issue you reported. I'd like to add my observations. It seems that when you click the close icon found in the upper right corner of the lightbox form, the catptcha word changes. Also, when you press the Escape key in your keyboard, the form closes.

    This is still a bug nevertheless, so I will inform our Tier 2 Support regarding this issue. In the meantime, please try to remove first the Captcha field from your form in order to temporarily resolve the issue for now. Our apologies for the inconvenience.

    Thank you for using Jotform!


  • Profile Image
    Answered on July 22, 2011 at 03:27 AM

    We have assigned this a minor bug so it may take a while before it is fixed. So, you should probably get rid of the captcha for now. Spam bots cannot open the lighbox anyways. So, there is no need for it.

  • Profile Image
    Answered on July 22, 2011 at 03:28 AM


    Please try removing the other duplicate lightbox scripts. You can have as many links as you want but only one script is needed.

    For example:

    <script src="//" type="text/javascript">
    new JotformFeedback({
    windowTitle:'Contact The Flamenco Centre',

    <a class="lightbox-12011253733" style="cursor:pointer;color:blue;text-decoration:underline;">Contact The Flamenco Centre</a>

    <a class="lightbox-12011253733" style="cursor:pointer;color:#4D79FF;text-decoration:underline;">[ Contact Us ]</a>


    Let me know if it helps or not. Thanks!