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 link showing as text not button

    Asked by Gortonlad on July 26, 2017 at 06:36 AM

    Hi 

     

    I want to add my form as a lightbox pop up. When I do this the link appears as text. How can I make it a button or link the lightbox to a button?

  • Profile Image
    JotForm Support

    Answered by BJoanna on July 26, 2017 at 11:26 AM

    A Lightbox link is not styled as a button by default. However, you can style it as a button. 

    If you want to add a default HTML button element use the < button > tag.

    Here is an example. 

     <script src="https://form.jotformpro.com/static/feedback2.js" type="text/javascript"> var JFL_72062321969963 = new JotformFeedback({ formId: '72062321969963', base: 'https://form.jotformpro.com/', windowTitle: 'test', background: '#FFA500', fontColor: '#FFFFFF', type: '0', height: 500, width: 700, openOnLoad: false }); </script>

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

    <button type="button">Contact Form</button>

    </a>

    How to Create a Lightbox Form

    Hope this meet what you are looking for.

  • Profile Image

    Answered by Gortonlad on July 26, 2017 at 12:43 PM

    Yep that works, many thanks.