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

    Host lightbox script

    Asked by 2ezy on June 21, 2013 at 02:48 AM

    I was wondering if it is posible to put the code for the lightbox in my webpage rather than the code searching your website to launch the lightbox. I am mainly trying to do this for speed reasons. I have put the scrpit in the head tags to help speed up but didn't really make much difference.

    Thanks Mark

    thanks
  • Profile Image
    JotForm Support

    Answered by Goldo on June 21, 2013 at 07:02 AM

    Lightbox option from what I know will load everything from our servers. We use MaxCDN (Content Delivery Network), so form load speed in general should be fine all over the world.

    Can you share the the form, so we can test it from our end? Thanks.

  • Profile Image

    Answered by 2ezy on June 21, 2013 at 07:34 AM

    On the below link I have a standard form and also a lightbox which is for displaying some general info.

    http://www.2ezyskiphire.com.au/pricing/6m/x.html

  • Profile Image
    JotForm Support

    Answered by EltonCris on June 21, 2013 at 08:23 AM

    @2ezy

    Your form loads fine here. The lightbox shows instantly. However, if you'd like to host the lightbox script, you can save this as js file http://cdn.jotfor.ms/static/feedback2.js?3.1.737 and upload it to your server. Now, simply update your lightbox embed code with the new js source.

    Example:

     

    <script src="http://yourwebsite.com/lightbox.js" type="text/javascript">

    new JotformFeedback({

    formId:'30042350021835',

    base:'http://jotform.co/',

    windowTitle:'Vouchers',

    background:'#FFA500',

    fontColor:'#FFFFFF',

    type:1,

    height:100,

    width:500

    });

    </script>

    Hope this helps. Thanks!