How do I integrate a button with a JotForm Lightbox

  • Profile Image
    Asked on January 27, 2015 at 01:17 PM

    for example, on my site here: I have a CTA "Yes Hook Me Up" but I want it to open in a lightbox rather than go to another page where I have the form currently. 



  • Profile Image
    Answered on January 27, 2015 at 03:18 PM

    You can try to use our Lightbox embedding method in combination with your link button.

    This is how you can get the Lightbox code with us.

    How to Create a Lightbox Form

    It comes with a Lightbox open  link:

    <a class="lightbox-50126476792157" style="cursor:pointer;color:blue;text-decoration:underline;">Title Me</a>

    So you will need to get a class of that link and add it to your current button link.

    Button link change from:

    <a class="et_pb_promo_button" target="_blank" href="" rel="nofollow noopener">Yes, Hook Me Up!</a>


    <a class="et_pb_promo_button lightbox-50126476792157">Yes, Hook Me Up!</a>

    Also, the JotForm Lightbox script should be on the page, but you can delete the default  'a' link since you will use your custom button link to open it.

    If you need any further assistance, please let us know.