Lightbox link showing as text not button

  • Profile Image
    Asked on July 26, 2017 at 06:36 AM



    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
    Answered 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="" type="text/javascript"> var JFL_72062321969963 = new JotformFeedback({ formId: '72062321969963', base: '', 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>


    How to Create a Lightbox Form

    Hope this meet what you are looking for.

  • Profile Image
    Answered on July 26, 2017 at 12:43 PM

    Yep that works, many thanks.