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

    Can I make the iframe or lightbox forms appear automatically on my page?

    Asked by Gary on February 26, 2013 at 12:02 PM

    I'd love for people to come to my site, and after 20 seconds, have the contact form automatically pop up as an iframe or lightbox.  Is it possible to do this without having them click a button?  Thanks so much!

    Page URL:

  • Profile Image

    Answered by jefreylandicho on February 26, 2013 at 01:05 PM

    Yes that is quite possible. What you need to do is create a separate page(myform.html) and embed the form using IFRAME or the script embed code.

    After creating the page containing the form embed script, insert the code located in the link below in your website header were you want the form popup to appear.



    The value 20000 is the time equivalent to 20 seconds.

    If you need further assistance, contact us again.



  • Profile Image

    Answered by sidharth_kch on February 26, 2013 at 01:49 PM
    Here is a quick work around if you want to appear your form in a lightbox.
    1. After creating the form go to "Embed Form" and copy the Lightbox embed code.
    2. Copy this code in any file where you want this to open after a certain specified time. Now you edit the last line of the copied code and add the text which is marked in bold below
    <a class="lightbox-________" id="CreateLightBox" style="cursor:pointer;color:blue;text-decoration:underline; visibility:hidden;">test</a>
    3. Add this code in your <head> section of your file:
    <script language="JavaScript" type="text/javascript">
         function OpenLightBox() {
    <script language="javascript">
        timer = setTimeout("OpenLightBox()", 10000) // This is in mili seconds and  you can change this as per your need
    Hope this helps you.
  • Profile Image
    JotForm Support

    Answered by EltonCris on February 26, 2013 at 02:54 PM

    In addition to my colleagues, we have a guide for that under our User Guide Section. Check this. How to Auto-popup a Lightbox Form