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

    Breaking site's Javascript?

    Asked by branndon on September 10, 2010 at 05:21 PM

    I have tried on three different Drupal based sites now. If I embed the entire source code of the form, so I can further tweak the styling, it kills almost all of the other javascript on the page. 

    I searched the form for "breaks javascript" and only one post came up.

  • Profile Image
    JotForm Founder

    Answered by aytekin on September 11, 2010 at 07:30 AM
    Well, you can check and post the javascript error message.Another possibility is that some other script on your page might have conflict. Does the same happen if you make an empty page on dreamweaver and add the code on it? If it does, can you post it to a web page and post the URL on this forum?
  • Profile Image

    Answered by branndon on September 11, 2010 at 08:40 PM

    http://www.screentoaster.com/watch/stVEJSSkBIR1FbQlhZWFJYV1JW/javascript_not_working

    Shows my test server. You'll notice on the product page with the large form on the top right of the page, no javascript works (you can see me hover over the little icons and over the menu, both have javascript actions). When I am on the other page, with out the form, you see the drop down menu works fine. You can also see my jotform code. I show you the error console, and it says nothing about jotform. It has a problem with lightbox. I have disabled lightbox, and that doesn't have an effect on jotform breaking my site's javascript. 

    Any idea on a fix? If I put it into a blank HTML page, I couldn't very well test it in an environment with other javascript that easily. I need to have it working in a real work example. Thanks for the support. You're always fast and helpful.

  • Profile Image
    JotForm Founder

    Answered by aytekin on September 13, 2010 at 10:40 AM

    Probably because you are including both prototype and jquery on the site. Use the IFrame JotForm Code and you will not need to include the prototype on the site. Unless you need it for something else on the site.

  • Profile Image

    Answered by branndon on September 13, 2010 at 12:46 PM

    I need to include it because obviously I have themed it to match my site, and also it pulls in some php from my site such as the product name. Do you have a solution how I could still theme it, and send a piece of content to the form, such as a product model number?


  • Profile Image

    Answered by branndon on September 13, 2010 at 01:19 PM

    I got it via an iframe and got the php variables to pass. thanks!