Can the Iframe Form Also be a Popup That Shows on Page Load?

  • liorlustig
    Asked on October 23, 2015 at 12:19 AM
    Can the Iframe form also be a popup that shows on page load?
  • mert JotForm UI Developer
    Replied on October 23, 2015 at 7:47 AM

    Hi there,

    Yes,you can set your Iframe embedded form to popup on page load.

    To do that,

    You need to create a separate HTML file called "form.html" and copy and paste the Iframe embed script in it.

     

    After this step, insert the code from the below in your website header were you want the form popup to appear. The red marked area "5000" (5 seconds) represents the countdown, you can adjust it.

     

    <script language="javascript">

    timer=setTimeout("window.open('myform.html ','','width=200 ,height=200')",5000)

    </script>

     

    If you need extra information, please let us know.

    Have a nice day.