Cloudflare and JS conflict

  • 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/

  • stevenmarshall
    Replied on April 22, 2019 at 1: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



  • artworksrichmond
    Replied on April 22, 2019 at 1: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.
    ...