# Conditional logic is not working

**URL:** <https://community.gravityforms.com/t/conditional-logic-is-not-working/19959>\
**Category:** Get Help\
**Tags:** caching, cloudflare, conditional-logic, cloudflare-rocket-loader, has-ticket\
**Created:** [January 7, 2026, 6:43am UTC](https://community.gravityforms.com/t/conditional-logic-is-not-working/19959 "2026-01-07T06:43:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user5bae8914abf5b2.3](https://avatars.discourse-cdn.com/v4/letter/u/e9a140/32.png) [@user5bae8914abf5b2.3](https://community.gravityforms.com/u/user5bae8914abf5b2.3)\
**Post date:** [January 7, 2026, 6:43am UTC](https://community.gravityforms.com/t/conditional-logic-is-not-working/19959/1 "2026-01-07T06:43:20Z")

</div>

My forms are not working. I cannot preview them or upload them to our site. It has been working for the past 9 years and now with the change it just does not work. I have recreated the forms from scratch but when putting in conditional logic, example

are you board certified? yes/no

if yes, then another field appears - it fails to preview or upload

I have narrowed it down to this simple step, when I remove conditional logic it loads fine. This is a big problem as there are many fields on my form that are conditional. Any help is greatly appreciated.

---

<div class="post-metadata">

**Author:** ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)\
**Post date:** [January 7, 2026, 8:23am UTC](https://community.gravityforms.com/t/conditional-logic-is-not-working/19959/2 "2026-01-07T08:23:51Z")

</div>

We replied to your support ticket with the following:

> Because your form uses conditional logic, it has an inline style of “display:none;” applied. If your page has any JavaScript issues, they can prevent the Gravity Forms scripts from running, which means the inline “display:none;” style can’t be removed.
> 
> Themes, plugins (e.g. WP Rocket, WP Fastest Cache), and services (e.g. host provided, Cloudflare and their Rocket Loader feature) that include caching and/or optimization features have been known to cause issues like this. We recommend excluding pages that include forms from those features.
> 
> Viewing the page source code confirms the Cloudflare Rocket Loader feature is enabled for the site. Note: disabling the Cloudflare CDN features does not disable Rocket Loader.
> 
> See the following page of the documentation for more details: [FAQ on Cache and Script Optimizer Issues - Gravity Forms Documentation](https://docs.gravityforms.com/faq-on-cache-and-script-optimizer-issues/)
> 
> We also recommend clearing/flushing the caches and the browser cache following WordPress, theme, and plugin updates.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)\
**Post date:** [February 6, 2026, 8:24am UTC](https://community.gravityforms.com/t/conditional-logic-is-not-working/19959/3 "2026-02-06T08:24:29Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
