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

    Does the pop up or light box option allow you to set a delay for the pop-up. Say, have it pop up after 2 minutes (vs immediately)?

    Asked by alliphil on September 28, 2010 at 09:19 AM
  • Profile Image
    JotForm Founder

    Answered by aytekin on September 28, 2010 at 10:19 AM

    No, they don't have such an option to pop-up after 2 minutes.

  • Profile Image

    Answered by alliphil on September 28, 2010 at 10:31 AM

    OK, thanks, would be cool.  Would love that feature.  Should I submit a separate feature request or is this fine?

  • Profile Image
    JotForm Founder

    Answered by aytekin on September 29, 2010 at 08:31 AM

    Yes, this is fine. I added this to our feature request.

    I assume you would like the pop-up to open automatically. Not two minutes after the user clicks on the link.

  • Profile Image

    Answered by HotelFB on November 22, 2012 at 09:18 PM

    Two years later, and there's still no option to delay the automatically loading lightbox? This is the only thing keeping me from signing on with JotForm.

  • Profile Image
    JotForm Support

    Answered by idarktech on November 22, 2012 at 10:50 PM

    Hi,

    Our apologies for the latency on this request and we do understand your disappointment. However, I have come up a workaround for you and I hope this would suffice your needs. 

    1. Get your Lightbox Embed Code.

    2. Insert an ID attribute e.g. id="lightboxdelay" on the anchor <a> tag. Example:

    <script src="//max.jotfor.ms/min/g=feedback2" type="text/javascript">

    new JotformFeedback({

    formId:'21357249698871',

    base:'http://jotform.co/',

    windowTitle:'Cool Contact Form',

    background:'#FFA500',

    fontColor:'#FFFFFF',

    type:false,

    height:500,

    width:700

    });

    </script>

    <a id="lightboxdelay" class="lightbox-21357249698871" style="cursor:pointer;color:blue;text-decoration:underline;">Cool Contact Form</a>

    3. After that, append this code below it.

     <script language="JavaScript">

    var delayseconds = 5;

        function pause() {

        myTimer = setTimeout('whatToDo()', delayseconds * 1000)

        }

       function whatToDo() {

    document.getElementById('lightboxdelay').click();

        }

    window.onload = pause;

    </script>

    4. Just change the delayseconds value (which is 5 currently) to your preferred time before the lightbox would appear after the page is loaded.

    You can check a live demo here (please wait 5 seconds before the lighbox form would appear)http://idarktech.com/test/delay_lightbox_onload_popup.html

    Feel free to let us know if you have further questions. Thanks!

  • Profile Image

    Answered by guest_23127962199058 on November 25, 2012 at 04:24 AM

    Thanks for this idarktech!