How do I integrate a button with a JotForm Lightbox

  • Profile Image
    ushine
    Asked on January 27, 2015 at 01: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? 

  • Profile Image
    Mike
    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="http://www.ushinetechnologies.com/how-to-shine-online/" rel="nofollow noopener">Yes, Hook Me Up!</a>

    to:

    <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.