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

    Adding some extra elements to the pop up so it only pops up once

    Asked by tidybooks on March 12, 2014 at 12:44 PM

    Hi 

     

    Ive installed a pop up on our site using the code given in another post. How do I make it so it only pops up for 1 instance at the moment its it reappers each time you refresh the page. The code is below. Thanks

     

    <script type="text/javascript" src="//cdn.jotfor.ms/static/feedback2.js?3.2.742">// <![CDATA[

    new JotformFeedback({

    formId:'40584713236959',

    windowTitle:'Title Me',

    background:'#FFA500',

    fontColor:'#FFFFFF',

    type:1,

    height:500,

    width:700

    });

    // ]]></script>

    <p><a id="lightboxdelay" class="lightbox-40584713236959" style="cursor: pointer; color: blue; text-decoration: underline; display: none;">Home page pop final</a></p>

    <script type="text/javascript" language="JavaScript">// <![CDATA[

    var delayseconds = 4;

        function pause() {

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

        }

       function whatToDo() {

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

        }

    window.onload = pause;

    // ]]></script>

    Page URL:
    http://www.tidy-books.co.uk/test-popup

    elements style POST height cdn
  • Profile Image

    Answered by pinoytech on March 12, 2014 at 03:28 PM

    Hi,

    It seems like you already manage to configure your form code to auto pop-up. Here's what I see on my end upon checking your form: http://www.screencast.com/t/KNYADt8M0X

    Feel free to contact us again if you need further assistance.

  • Profile Image

    Answered by tidybooks on March 13, 2014 at 05:19 AM

    Hi yep that bits ok it’s just that we are going to put this on our homepage but we only want it to appear once. At the moment if were to leave the page then come back again  it will pop up again. I want to make the pop up as unintrusive as possible so looking to know what peice of code to add to make it so it will only pop up only once for each person who arrives whether they sign up or not

     

    Hope that makes sense thanks

  • Profile Image
    JotForm Support

    Answered by abajan on March 13, 2014 at 10:15 AM

    Please have a look at this guide and let us know if the solution is feasible in your case. This thread may also be helpful.


    Thanks