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

    How to host lightbox form AND script

    Asked by CDMjarred on September 12, 2012 at 12:16 PM

    I've seen a few threads on actually hosting the javascript for the lightbox feature, but what about the form itself? I already have the form as a php file hosted on my site, but I'm confused as to how to point to that instead of jotform.


    <script src="/contact_form/js/lightbox.js" type="text/javascript">

    new JotformFeedback({



    windowTitle:'Clone of Contact Form',








    <a class="lightbox- xxxxxxxxxxxxxx" style="cursor:pointer;color:blue;text-decoration:underline;"><img src="../images/icon-free-consultation.jpg" alt="Contact Us" title="Contact Us" border="0"></a>


    Please advise.

  • Profile Image
    JotForm Support

    Answered by NeilVicente on September 12, 2012 at 02:09 PM

    I think your best bet is to use a third-party script to easily display your self-hosted form on a lightbox.

    Try this script: