• Resolved Roland

    (@pmcbrabant)


    On a site I’m building (not officially live yet), I decided to use Caldera Forms. While making the forms is easy enough, I couldn’t get the darned things to submit.
    Instead of submitting the data or throwing an error, the form would get duplicated in the notices area (div with ID caldera_notices_1) and the original form remained on screen.

    When I completely turned off Comet Cache Pro, the forms suddenly started working.

    After re-enabling Comet Cache Pro, I added “caldera-forms**” to the CSS, JS and HTML compression exclusion lists, but that doesn’t prevent the original issue from returning.

    Which files should I prevent Comet Cache Pro from caching, compressing etc. in order to keep Caldera Forms working?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Randy King

    (@randyking)

    Sorry, not an answer Roland, but a testimonial that I have exactly the same problem and reluctantly had to just deactivate and uninstall Comet Cache. Some time last year there was a discussion about caching in general causing problems with Caldera forms.

    Plugin Author Josh Pollock

    (@shelob9)

    There are two problems here. Both of which have documented solutions:

    1) Minifying minifed JavaScript can cause unintended output.
    You can have Caldera Forms output uncompressed JavaScript, that your plugin would then compress, using the caldera_forms_render_assets_minify filter.

    https://calderaforms.com/doc/caldera_forms_render_assets_minify/

    2) Many caching plugins cache HTML longer then the nonce life time so the validation fails.
    See this page: https://calderaforms.com/doc/caldera-forms-submission-rejected-token-invalid-mean/

    Personally I would recommend using NGINX as a static cache, way more efficient then any plugin since it doesn’t involve any PHP process at all.

    If you need help troubleshooting this on your site. Please open a support ticket at https://CalderaForms.com

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Caldera Forms incompatible with Comet Cache Pro’ is closed to new replies.