Reputation: 36
When I create a gravity form without conditional logic it works perfectly, but when I add conditional logic it doesn't show up at all.
There are no errors either, and I have wp-debug set true..
It does appear when I disable the Advanced Custom Fields plugin, so I know it's a conflict between those two plugins.
Upvotes: 1
Views: 1867
Reputation: 134
Make sure jQuery is loaded in the header and gravityforms.min.js is deferred to the footer - works for me at least. See answer here: https://stackoverflow.com/a/43949673/7994214
Upvotes: 1
Reputation: 1337
Possible causes
Cause 1: Javascript function error :
In Gravity forms, If your form uses conditional logic that means 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, and when those scripts can't run the inline display:none style can't be removed.
Cause 2: Duplicate jQuery library :
Also it might be possible that, The theme is including it's own copy of jQuery after WordPress has already included its copy in the page header.
If that is the case then remove another copy of jQuery ( From Theme ).
Upvotes: 1