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)?

  • Profile Image
    alliphil
    Asked on September 28, 2010 at 09:19 AM
  • Profile Image
    aytekin
    Answered on September 28, 2010 at 10:19 AM

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

  • Profile Image
    alliphil
    Answered 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
    aytekin
    Answered 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
    HotelFB
    Answered 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
    idarktech
    Answered 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
    guest_23127962199058
    Answered on November 25, 2012 at 04:24 AM

    Thanks for this idarktech!