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

    Is it possible to trigger a lightbox form from an image?

    Asked by nozzmoking on May 25, 2012 at 07:16 AM

    I've got a lighbox form working exactly how I want it, but instead of triggering it from a text link I'd like to trigger it from a Contact Us button.

    Is this possible?

    This is what I have at present:

    <script src="//jotformeu.com/min/g=feedback2" type="text/javascript">
    new JotformFeedback({
    windowTitle:'HomePage Enquiry Form',
    <a class="lightbox-21237118732347" style="cursor:pointer;color:blue;text-decoration:underline;">HomePage Enquiry Form</a>

    Many thanks.

  • Profile Image
    JotForm Support

    Answered by abajan on May 25, 2012 at 07:57 AM

    Yes, that's feasible. Just replace the text between the anchor tags with the image's tag. (You can also remove the color and text-decoration declarations from style attribute because they won't be needed.)

    If you would like clarification on anything, please let us know.

  • Profile Image

    Answered by nozzmoking on May 25, 2012 at 09:43 AM

    Many thanks, that's really helpful!