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

    JotForm Javascripts interfering with Website

    Asked by ryanwilliamgreen on June 15, 2014 at 09:00 AM

    Hello!

    I have been having an issue with the 'Source of the Form' as 3 of the Javascripts on the webpage seem to be interfering with the rest of the site, which I can't understand why it is happening. The error results of:

     

    <script src="//max.jotfor.ms/js/vendor/maskedinput.min.js?v=3.2.2089" type="text/javascript"></script>

    <script src="//max.jotfor.ms/static/prototype.forms.js" type="text/javascript"></script>

    <script src="//max.jotfor.ms/static/jotform.forms.js?3.2.2089" type="text/javascript"></script>

     

    From what I have played around with, these three Javascripts are interfering with the rest of the site.

    For example, if you look at the navbar on the site and the dropdown 'Package Deals' option, when you hover over the dropdown it does not appear, which it is suppose to. Though if you click the page then move the cursor away the page disapears from the navbar. This error can be found here:

    http://discoentertainments.com/contact.html

    When I remove the 3 Javascripts it works fine but the from does not, as it needs these javascripts for the form to work this can be found here: http://discoentertainments.com/contact_working.html

     

    Thank you for taking the time to read my issue and I hope this can resolved as soon as possible!

    Thank you,

    - Ryan

    Page URL:
    http://discoentertainments.com/contact.html

    source static script conflict jsscript
  • Profile Image
    JotForm Support

    Answered by jonathan on June 15, 2014 at 03:29 PM

    Hi Ryan,

    May I inquire if there is a specific purpose why you were using the form's full source code embed on your website http://discoentertainments.com/contact.html ?

    From what I have checked so far, the caused of some script codes failing in the website was due to clashing of scripts between those the exists in your website and form's scripts.

    The easiest resolution I could suggest at the moment is to use the form's iframe code embed instead to avoid those script conflict from happening. 

    User Guide: -Getting-the-Form-iFrame-Code  

    Can you please try using the iframe code embed. Inform us if it does not make any difference.

     

    Thanks!

  • Profile Image

    Answered by ryanwilliamgreen on June 15, 2014 at 05:40 PM

    Thank you for your help! The error, which I had has now gone thanks to the iframe code and your help! I didn't really pay attention to the other options which were available, so it was my mistake. Thank you for your help!

    - Ryan

  • Profile Image

    Answered by ryanwilliamgreen on June 15, 2014 at 05:51 PM

    Thank you for your help! The error, which I had has now gone thanks to the iframe code and your help! I didn't really pay attention to the other options which were available, so it was my mistake. Thank you for your help!

    - Ryan

  • Profile Image
    JotForm Support

    Answered by jonathan on June 15, 2014 at 05:52 PM

    We are glad to be of help. Please contact us again anytime for any other assistance you need.

    Best