I am having a conflict with code

  • Profile Image
    above_graphics
    Asked on January 27, 2016 at 08:26 PM

    Hello everyone,

    I have reason to believe that there is a conflict that stops some functionality of my forms. I am hosting the form on my website and I installed a responsive slider that uses javascript.

    I personally think it may be a JS conflict. somewhere above the '<style type="text/css">' code breaks the functionality of the collapse forms. When you click on the form to begin it does not collapse.

     

    You can check out the live version @ http://abovegraphics.net/webdesign

    If anyone can assist me, thank you.

  • Profile Image
    Charlie
    Answered on January 28, 2016 at 02:47 AM

    I checked your website and you indeed have a couple of errors on it.

     

    If you have embedded the form's full source code and you are loading another JS library in the same page, then there will be a code conflict. I strongly suggest the following:

    Solution 1: If you do not have any custom scripts that you injected directly on the full source code, then perhaps re-embedding using the iFrame code would work. Using the iFrame embed code prevents any code conflict that may happen between the form and your website's resources.

    Solution 2: If you do not want to re-embed, then you might need to use jQuery's noConflict. To learn more about this, you can check this guide: https://api.jquery.com/jquery.noconflict/ 

    I hope that helps.