Replacing the JotForm lightbox link with a button

  • binksford
    Asked on January 14, 2016 at 3: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?
  • BJoanna
    Replied on January 14, 2016 at 3: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.