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

    my form stops concrete5 CMS from working when I put the javascript in from the lightbox code supplied by jot form?

    Asked by yuggybear on April 23, 2013 at 07:27 AM

    I am using Concrete5 and the code supplied by form jot causes an error.

     

    this is the code...

     

    <script src="//cdn.jotfor.ms/static/feedback2.js?3.1.40" type="text/javascript">

    new JotformFeedback({

    formId:'31101652708344',

    base:'https://secure.jotformeu.com/',

    windowTitle:'Stripe Example: Blackpool',

    background:'#FFA500',

    fontColor:'#FFFFFF',

    type:false,

    height:500,

    width:700

    });

    </script>

     

    and this is the line that is causing the error...

    <script src="//cdn.jotfor.ms/static/feedback2.js?3.1.40" type="text/javascript">

    any idea's please?
    Page URL:
    http://haslam.tst.im/destinations/blackpool/buy-blackpool/

  • Profile Image
    JotForm Support

    Answered by EltonCris on April 23, 2013 at 09:45 AM

    Hi,

    That's probably due to code conflict between the JotForm script and your website's existing scripts. I can see you are using pop-up embed code already, is this something that you'd prefer now? That's one of the alternative solution to avoid conflicts.

    Please let us know your inputs. Thanks!

  • Profile Image

    Answered by yuggybear on April 24, 2013 at 08:35 AM

    Thanks EltonCris,

     

    that is exactly what is the problem. We got a way round by embedding the source form code and used this ...

     

    [24/04/2013 13:33:18] Chris Dell: <script type="text/javascript">

        // Rescue jQuery (This goes before JotForm script)

        var $c5 = $;

        $ = null;

        jQuery = null;

    </script>

    [24/04/2013 13:33:24] Chris Dell: <script type="text/javascript">

        // Restore original jQuery (This goes after JotForm script)

        $ = $c5;

        jQuery = $c5;

    </script>

     

    this way you can embed jotform source and use concrete5 with no conflicts.

    G.