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

    Chasing down jotforms / jquery 1.5.1 conflict

    Asked by phantomdentist on April 07, 2011 at 04:39 AM

    Have taken my forms source code from here and embeded it into a wordpress text widget. I use jquery 1.5.1 and a few jquery plugins on my site. When I use jotforms source code some jquery functionality is broken. I have removed all of the jquery plugins I use and have concluded they are not the issue.

    It's the main jotforms script <script src="//cdn.jotfor.ms/jotform.jgz?3.1.109" type="text/javascript"></script> that breaks some of the jquery functionality on my page, though not all of it. You can see the issue here

    The jquery carousel at the top of the page is unaffected. The jquery testimonial carousel in the right sidebar is broken and any jquery that I try to apply to the form itself is broken.

     

    Any ideas?

    Thanks

    Page URL:
    http://www.tonguetiedmedia.com

  • Profile Image
    JotForm Support

    Answered by NeilVicente on April 08, 2011 at 11:24 AM

    Hello,

    Is the homepage the actual page in question? I've taken a look at it and found no problems with your testimonial carousel. It is working fine alongside your Jotform form. 

     

    This might be a browser issue on your end. Can you tell me which browser and what version you are using?

  • Profile Image

    Answered by phantomdentist on April 09, 2011 at 07:20 PM

    Sorry I gave you the live site url, the staging url is http://staging.tonguetiedmedia.com/

  • Profile Image
    JotForm Support

    Answered by liyam on April 10, 2011 at 01:09 AM

    Hello,

    By looking at your code, seems that you embedded using full source. Can you embed using script source (<script src="//form.jotform.com/jsform/xxxxxx"></script>)?  I believe this will fix it up.

    Hope this helps.

  • Profile Image
    JotForm Support

    Answered by liyam on April 10, 2011 at 10:15 AM

    Hello,

    I checked again your site and it seems to work properly now.

    If you're still having problems, please do let us know.

    Thanks

  • Profile Image

    Answered by phantomdentist on April 11, 2011 at 03:37 AM

    Hi

    Afraid it's still got the same issue. Some jquery broken by using the full source. I need to use the full source as I need to apply jquery to the forms themselves, I am under the impression you need to be using the source to do this.

    At the moment the form source code is killing my testimonial slider, its killing the jquery plugin that I use to give anchor tags a slide effect. It also kills any jquery that I apply to the forms themselves. If I remove

    <script src="//cdn.jotfor.ms/jotform.jgz?3.1.109" type="text/javascript"></script>

    Issues are resolved, but ofcourse, the forms don't work.

     

    Thanks

  • Profile Image
    JotForm Support

    Answered by liyam on April 11, 2011 at 09:36 AM

    Hello,

    I don't think it will be possible to use jquery in the fields of jotform as your carousel conflicts with the jotform script.

    May I know exactly what are you considering on doing with your form and using jquery in it? Maybe I can find a solution for it.

    Update: I lack a bit knowledge with jquery, but have you tried running jquery in noConflict mode? Not sure if it will work but please do let us know if it does.

    Thanks.

  • Profile Image
    JotForm Support

    Answered by liyam on April 11, 2011 at 10:58 AM

    So far I have been trying to figure out a way how to put up these two for compatibility but unfortunately, it's still not yet possible for some certain scripts to work along side by side. Although some do work alright.

  • Profile Image

    Answered by LionelMellsey on April 11, 2011 at 12:01 PM

    after jQuery Plugin: Scroll to Top code applied, the feedback button disappear.

  • Profile Image

    Answered by joe_zaro on April 14, 2011 at 02:18 PM

    my jquery / jotform  solution is:

    1) Create your jotform and put it into a new page.  Call it page1.html

    2) Create a second page and call the first page via an iframe like:

    <iframe scr="page1.html" frameborder="0"... > </iframe>

    Both jQuery libraries and jotform libraries use the $ and that was causing a conflict.

  • Profile Image

    Answered by allanftd on April 16, 2011 at 04:40 AM

    Hi LionelMellsey,

    Following the lead of joe_zaro, I have experimented on using Iframe as a possible workaround while the Jquery-Jotform incompatibility issue is being remedied by our developers.

    Please create a new web page and paste the following code:

    <html>
    <body>
    <script src="//www.jotform.com/min/g=feedback" type="text/javascript">
    new JotformFeedback({
    formId: "10921225162",
    buttonText: "Contact - standard",
    base: "http://www.jotform.com/",
    background:'#F59202',
    fontColor:'#FFFFFF',
    buttonSide: "top",
    buttonAlign: "right",
    type:false,
    width: 700,height: 500});
    </script></script><iframe src="http://www.jotform.com" frameborder=0 width=100% height=100% scrolling=auto align=middle></iframe>
    </body>
    </html>

    Note: change the highlighted text with your website's URL.This is a simplified code. You can further customize it according to your needs.

    The above code basically consists of a Feedback Form script and an Iframe tag to display your website. In this case, the Jquery script and JotForm Feedback Form script can co-exist since their codes will not interfere with each other because they are embedded on different pages. Please try this and let us know if it will work for you or not.

    We appreciate your understanding on this matter. Rest assured that this is being attended to by our team. Thank you for using JotForm!

    JOTFORM SUPPORT

  • Profile Image
    JotForm Support

    Answered by liyam on November 15, 2011 at 07:04 AM

    Hello phantomdentist,

    As much as this thread has been forgotten, I just would like to share that one of my colleagues was able to pull off something regarding the conflict between JotForm and jQuery carousel.  You can read more details about the solution on this thread.