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 open JotForm from a section in the header of a webpage?

    Asked by guest_23616732460047 on December 27, 2012 at 07:51 PM

    I presently have a page at http://www.ketopet.com/TEMP/draft2.html. I want to change the page so the "Sign Up for our Newsletter" link opens to a lightboxed Jotform (Sign Up for Keto Newsletter) instead of a new web page as it does presently (http://fitwarranty.com/ketopet/newsletter). 

    The current coding is as follows: 

    <a target="_blank" href="http://fitwarranty.com/ketopet/newsletter" rel="nofollow noopener" ><div style="width: 237px; height: 80px; margin-left: -125px; position: absolute; left: 879px; top: 29px;"></div></a></div></div></div></div></div></div>

    I want to somehow change that to somehow include code so that the lightbox replaces the webpage with some type of click on statement, I guess. JotForm's normal code is as follows:

    <a class="lightbox-23605911226145" style="cursor:pointer;color:blue;text-decoration:underline;" 

    Page URL:
    http://www.ketopet.com/TEMP/draft2.html

  • Profile Image
    JotForm Support

    Answered by Welvin on December 27, 2012 at 08:42 PM

    Hi,

    Assuming that this is your lightbox codes, place this codes where the newsletter signup button is placed;

     

    <script src="//max.jotfor.ms/min/g=feedback2" type="text/javascript">

    new JotformFeedback({

    formId:'23020960155949',

    base:'http://jotformpro.com/',

    windowTitle:'Contact Form with Envelope Theme',

    background:'#FFA500',

    fontColor:'#FFFFFF',

    type:false,

    height:500,

    width:700

    });

    </script>

    <a class="lightbox-23020960155949" style="cursor:pointer;color:blue;text-decoration:underline;">Contact Form with Envelope Theme</a>

    Notice the bold red text, you can replace it with HTML Image tag to point on your header newseletter button.

     

     

    Please let us know if you have questions.

     

    Thanks