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

    Adding lightbox form to wix web page

    Asked by skarma on January 08, 2017 at 01:39 PM

    i hv created my form and embed a light box on my wix website . is there a way to link a button to the lightbox form



    This is a re-post of a comment on Adding a Form to Your Wix Site

  • Profile Image
    JotForm Support

    Answered by Mike on January 08, 2017 at 03:28 PM

    Could you please provide us with a link to your test wix page with embedded form?

    Would you like to open the form lightbox upon a button click instead of a standard lightbox link click?

  • Profile Image

    Answered by skarma on January 09, 2017 at 05:25 AM

    yes excatly, i want a customised button to open the light box form instead of the standard link .  so that i can drag the button to where ever i want and cutomize the design of like any  button on wix.

    the lightbox code  <script src="https://form.jotform.me/static/feedback2.js?3.3.REV" type="text/javascript"> var JFL_70073071406446 = new JotformFeedback({ formId: '70073071406446', base: 'https://form.jotform.me/', windowTitle: 'LADAKH MOTORCYCLE TOUR', background: 'transparent', fontColor: '#FFFFFF', type: '1', height: 800, width: 500, openOnLoad: false }); </script> <a class="btn lightbox-70073071406446" style="margin-top: 16px"> LADAKH MOTORCYCLE TOUR </a>.

    and my site is not published yet, i have some "BOOK NOW". and i want the light box form to pop up on clicking those button

     

  • Profile Image
    JotForm Support

    Answered by seth on January 09, 2017 at 07:02 AM

    Hello,

    I checked the wix application. Unfortunately there is no option on the editor to insert javascript code (your lightbox code) into a button. Hence for now, it seems impossible to add a lightbox link into a button on wix editor.

    However you can add your custom button into a HTML box on wix editor. But this option will open the form in the HTML box.  You will need to consider the form are in your web page design. In other words it will not open the light box on your page, but will open it embedded to your page.

    Also you can use a button on wix editor to open a JotForm on the current page or on a new page. Please consider using this option. Add the form link to the button's 'change link' property.

    I hope this answer helps. If you have further queries please do not hesitate to contact us.

    Regards.