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 to open lightbox upon an image click

    Asked by anandrajog on June 16, 2016 at 07:06 PM
    I want the user to click on a picture before the lightbox is opened. Can we do it?
  • Profile Image
    JotForm Support

    Answered by Mike on June 16, 2016 at 07:20 PM

    The lightbox code comes with a link, and you can place your image html tag directly within that link.


    <a class="btn lightbox-XXXXXXXXXXXX" style="margin-top: 16px">

    <img src="https://your-image-url.com/image.png" />


    Please give it a try and let us know if you need any further assistance.