What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    How can I activate the lightbox feature on click of button or URL?

    Asked by Norby on January 25, 2015 at 08:20 PM
    HelloHow can I activate the lightbox feature on click of button or URL?Thanks

    This is a re-post of a comment on How to Auto-popup a Lightbox Form

  • Profile Image
    JotForm Support

    Answered by Welvin on January 26, 2015 at 05:08 AM

    Hi Norby,

    That is possible. Here's how:

    a. You will notice the following line in your Lightbox embed codes:

    <a class="lightbox-XXXXXXXXXX" style="cursor:pointer;color:blue;text-decoration:underline;">Contact Form</a>

    Just change it to:

    <a class="lightbox-2XXXXXXXXXX" style="cursor:pointer;color:blue;text-decoration:underline;"><img src="//example.com/button.png" height="42" width="42"></a>

    You have to change the image "http://example.com/button.png" to your own button Image URL. Then make sure to change your height and width values to match it with your own button size.

    Let us know if you need further help about it.