How can I create a popup window to show my terms & conditions page?

  • sohoexp
    Asked on December 10, 2014 at 10:07 AM

    Hi there,

     

    I'd like my viewers to "Click Here to review Terms & Conditions" for legalities. Is there a way to create a webpage with our specific text that would be the new pop-up window upon clicking?

     

    Thanks,

    Danielle

  • raul
    Replied on December 10, 2014 at 12:56 PM

    Unfortunately, this is not possible to achieve using the form builder.
    However, you could do this with JavaScript if you're embedding the form on a web page.

    Please allow me some time to work on a demo page to better show what I'm talking about and will get back with you later.

    Thank you.

  • raul
    Replied on December 10, 2014 at 4:22 PM

    Please check the following page: https://shots.jotform.com/raul/472696/index.html

    What I did was:

    1. Downloaded the full source code of the form.
    2. Modified the link to leave it like this:

    <p><a href="#" onDISABLEDclick="popup()">Click Here</a> for a full Terms of Use</p>

    3. Added a JavaScript function to show the terms and conditions page in a popup window:

    <script>
    function popup() {
    var w = window.open("http://www.jotformpro.com/form/43433785395970", "Terms and Conditions", "width=800, height=600");
    }
    </script>

    Feel free to download/review the source code of the index.html file to check it further.

    Let us know if this is what you're looking for.
    Thank you.