How do I integrate a button with a JotForm Lightbox

  • ushine
    Asked on January 27, 2015 at 1:17 PM

    for example, on my site here: http://www.ushinetechnologies.com/ 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. 

     

    Thoughts? 

  • Mike
    Replied on January 27, 2015 at 3: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" href="http://www.ushinetechnologies.com/how-to-shine-online/">Yes, Hook Me Up!</a>

    to:

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

    How do I integrate a button with a JotForm Lightbox Image 1 Screenshot 20

    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.