Cloudflare and JS conflict

  • Profile Image
    artworksrichmond
    Asked on April 22, 2019 at 10:34 AM

    I've searched and search for an answer or way to allow my js embed forms to work on our website, but ever since installing Cloudflare cacheing, the regular embed forms break. (see https://artworksrva.com/rent-artist-studio/ - form missing under "Rent Wall Space at...)

    I have gone ahead and replaced all others with iframe, but would like to know if there is an easy answer or simple recommendation on what to look for that might allow the standard js embed. 

    also... do you know if there is any real benefit to one over the other these days?

    Working (iFrame) form on:  https://artworksrva.com/facility-rental/

  • Profile Image
    stevenmarshall
    Answered on April 22, 2019 at 01:04 PM

    Hi @artworksrichmond,

    I apologize for the inconvenience you are having.

    Try to add this to your code:

    <script>

    $.noConflict();

    All script code of JotFrom needs to be added here.

    </script>

    See if this fixes your issue you are having.

    I would say that Iframe is probably your best solution as you have already done.

    GUIDE: How-to-get-the-Full-Source-Code-of-your-Form



  • Profile Image
    artworksrichmond
    Answered on April 22, 2019 at 01:43 PM
    Thank you for contacting Art Works. We are open Tuesday - Sunday from 12 pm - 6 pm. and our office will respond to you ASAP.
    ...