How to make Lightbox open only in second page of the form?

  • Profile Image
    Rpcaporali
    Asked on July 26, 2017 at 01:57 PM

    Hello,

    I'm creating a  form for my home page, but I want the first page of the form to be within my home page and when the customer clicks on "next" the lightbox opens with the second and further pages of the form.

    In other words, is it possible to make first page of form without lightbox and next ones with it?

    Thx!

  • Profile Image
    Jan
    Answered on July 26, 2017 at 03:24 PM

    Unfortunately, it is not possible to insert a Javascript code inside the form using the builder. The script code is needed to create a lightbox link.

    Also, you cannot have the Page Break buttons (Next or Back) to trigger a lightbox pop-up.

    You can download the form's source code and upload it to your web servers. The source code contains the HTML, CSS and Javascript files of the form. You can add custom scripts because you have full control of the files in the form. Here's a guide: https://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form.

    Thank you for understanding.