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

    Lightbox button not working

    Asked by okanel on March 24, 2017 at 02:25 PM

    I've created a new form that I want to appear as a lightbox on a button click.

     

    Preview in Jotform looks great but when I paste the embed code into a snippet on my website only the text in the <a> tags appears. Not the button.

     

    Any idea how I can get this working please?

     

    Screenshot 1 is what actually appears on the webpage, Screenshot 2 is what appears in lightbox preview on Jotform.

     

    Thanks in advance.

    Page URL:
    http://www.icompute-uk.com/shorten

    Screenshot
  • Profile Image
    JotForm Support

    Answered by Mike on March 24, 2017 at 05:35 PM

    The lightbox link is not styled as a button by default, but you can style it manually. For example, if you would like to add a default HTML button element use the < button > tag.

    Code example: 

    <a class="btn lightbox-XXXXXXXXXXXXX" style="margin-top: 16px">
    <button type="button">Contact Form</button>
    </a>

    If you need any further assistance on this, please let us know.