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

    Replacing the JotForm lightbox link with a button

    Asked by binksford on January 14, 2016 at 03:12 AM
    It worked! :) I'd like to change the style of the clickable link to a box style. If you have a look at http://binksford.com.au/new-car-showroom/new-ford-focus/ on the last image of the page there is a box labelled "Register Your Interest". How do I create a similar box to click through to the lightbox?
  • Profile Image
    JotForm Support

    Answered by BJoanna on January 14, 2016 at 03:28 AM

    If I understood you correctly you want to replace the JotForm lightbox link with a button.

    To use a button, just simply use the lightbox class from your lightbox embed code on your buttons code. Example:

     <script src="https://form.jotform.com/static/feedback2.js?3.3.REV" type="text/javascript">

          var JFL_60131289969970 = new JotformFeedback({

            formId: '60131289969970',

            base: 'https://form.jotform.com/',

            windowTitle: 'Ford Focus Enquiry Form',

            background: '#48649C',

            fontColor: '#FFFFFF',

            type: 'false',

            height: 500,

            width: 690,

            openOnLoad: false

          });

        </script>

          <input class="lightbox-60131289969970" type="button" value="2015 Ford Focus Enquiry Form" />

     

    Hope this will help. Let us know if you need further assistance.