LightBox embedded form not loading

  • Profile Image
    Nikolay Nenkov 
    Asked on April 25, 2016 at 10:29 AM

    Dear JotForm Team,

    today i created contact form. I want to embed it to our site with light box button, but when i paste code in Body its not work (noting apeared).

    Here is the code for embedding:

     

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

          var JFL_61152787708362 = new JotformFeedback({

            formId: '61152787708362',

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

            windowTitle: 'Бърза поръкча ',

            background: '#ffffff',

            fontColor: '#FFFFFF',

            type: '1',

            height: 540,

            width: 470,

            openOnLoad: false

          });

        </script>

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

            Поръчай бързо и лесно този продукт:

          </a>

     

    I have two more questions:

    1. Can you add to code - code to get link from where is made this contact form ( we used it for Fast Order and we want to receive link to product from where is made this order:) ?

    2. How can i make a button to lightbox, not linked text ?

     

  • Profile Image
    Mike
    Answered on April 25, 2016 at 12:04 PM

    Thank you for contacting us.

    The code looks fine. Does it make any difference if you place the script code right before closing </body> tag?

    The lightbox is supposed to be loaded once you click on the associated link.

    Other questions have been moved into separate threads:

    https://www.jotform.com/answers/825883

    https://www.jotform.com/answers/825884

    We will update them shortly.

  • Profile Image
    Nikolay Nenkov 
    Answered on April 25, 2016 at 12:44 PM
    There is a text but dont have a link behind it...
    ...
  • Profile Image
    KadeJM
    Answered on April 25, 2016 at 02:10 PM

    Are you able to share a screenshot of how it is so that we can see what you currently have there for this to investigate the problem more?