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

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

    Asked by Tomas Dietz 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 (www.tomasflamenco.com/index.html).  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 ]

    Page URL:

  • Profile Image

    Answered by allanftd 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
    JotForm Founder

    Answered by aytekin 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
    JotForm Support

    Answered by NeilVicente 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="//www.jotform.com/min/g=feedback" 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!