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

    Form loaded after 5 sec

    Asked by idtrip on August 19, 2015 at 07:28 AM

    Hello, i've created a "lightbox" which is loaded on pageload.

    i'm wondering is there a way to make it load after several second after page loaded? for example 5sec.

    what script should i add?

    Thanks :)

     

    <script src="//d2g9qbzl5h49rh.cloudfront.net/static/feedback2.js?3.3.8689" type="text/javascript">

    var JFL_52302478853458 = new JotformFeedback({

    formId:'52302478853458',

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

    windowTitle:'Newsletter',

    background:'#FFA500',

    fontColor:'#FFFFFF',

    type:1,

    height:480,

    width:300,

    openOnLoad:true

    });

    </script>

    Page URL:
    http://form.jotform.me/form/52302478853458

    after JotForm height static thanks
  • Profile Image
    JotForm Support

    Answered by mert on August 19, 2015 at 09:17 AM

    Try with this one. It works.

    This one is a modified lightbox script.

    <script src="//d2g9qbzl5h49rh.cloudfront.net/static/feedback2.js?3.3.8689" type="text/javascript">

    function openFeedBack(){
        var JFL_52302478853458 = new JotformFeedback({

        formId:'52302478853458',

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

        windowTitle:'Newsletter',

        background:'#FFA500',

        fontColor:'#FFFFFF',

        type:1,

        height:480,

        width:300,

        openOnLoad:true
        });
    }

    setTimeout(function(){
         openFeedBack();
    },5000);

    </script>

    <body>
    </body>

     

     With yellow marked value, you can adjust timeout value. In here, it is set for 5 seconds.