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

    want to delay a feedback from tab from appearing on my site

    Asked by russbanner on October 22, 2015 at 04:32 AM

    Hi there

    I am using the tabs on the feedback form to offer clients quote and also discount offers is there anyway i can delay the tab appearing? or have a pop up box appearing automatically?

    http://www.jotform.com//?formID=52935280618965

    thanks

     

    Russ

     

     

    Page URL:
    http://www.careerguidancecharts.com/our-products.html

    site delay a feedback form JotForm www thanks
  • Profile Image
    JotForm Support

    Answered by Chriistian on October 22, 2015 at 06:14 AM

    Hi Russ,

     

    If you want to automatically show the form popup box in your feedback code, you can try to embed your form using this code instead:

    <script src="https://form.jotform.com/static/feedback2.js?3.3.REV" type="text/javascript"> new JotformFeedback({ formId: "52935280618965", buttonText: "Discount Offer", base: "https://form.jotform.com/", background: "#800080", fontColor: "#FFFFFF", buttonSide: "bottom", buttonAlign: "center", type: false, width: 500, height: 500, openOnLoad:true }); </script>

    The logic is basically the same on the lightbox popup. You can check this article for more information: How to Auto popup a Lightbox Form.

     

    Do let us know if you need further assistance.
    Regards.

     

     

  • Profile Image

    Answered by russbanner on October 22, 2015 at 06:46 AM

    Hi Christian

    How would I add a delay in that box to make that appear say 20 seconds later?

    works a treat by the way.

     

    Russ

  • Profile Image
    JotForm Support

    Answered by Chriistian on October 22, 2015 at 08:29 AM

    Hi Russ,

     

    Can you try the following steps and see if it will work?

    1. Use the original code again (remove openOnLoad:true)

    <script src="https://form.jotform.com/static/feedback2.js?3.3.REV" type="text/javascript"> new JotformFeedback({ formId: "52935280618965", buttonText: "Discount Offer", base: "https://form.jotform.com/", background: "#800080", fontColor: "#FFFFFF", buttonSide: "bottom", buttonAlign: "center", type: false, width: 500, height: 500 }); </script>

    2. Add additional script to open the pop-up box after 20 seconds upon load.

    <script language="JavaScript">

    var delayseconds = 20; //seconds to delay

    function pause() {

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

    }

    function whatToDo() {

        document.getElementById('jotform-feedback-52935280618965').click();

    }

    window.onload = pause;

     

    </script>

     

    Do let us know if you need further assistance.
    Regards.