Whenever i add a conditional logic to my form on this page http://tefsip.80gigs.com/internship-form/ the form disappear. How do i fix this?
Did you ever get a resolution for this? I’m having same problem. Thanks.
Hi Josephine. When a form with conditional logic does not show, it’s almost always due to a JavaScript error on the page. With the update to WordPress 5.5, WordPress no longer outputs the jQuery Migrate script. A lot of plugins and themes still relied on that for functionality, so when that is missing, those themes or plugins have errors, and you form remains hidden.
If that is your case (using WordPress 5.5 and have JavaScript errors) I recommend installing this plugin, to output jQuery Migrate again:
If that does not help you, it’s still probably a JavaScript error, just not one that could be helped with that script. In that case, I recommend using the Health Check plugin from WordPress to narrow down the problem.
If you’re not able to find the issue, I recommend opening a support ticket:
Hi, Chris. Thank you so much for the reply. It is an error caused by W3 Total Cache. I just can’t seem to figure out how to get an exception to work for Gravity Forms.
Cheers,
JJ
There’s a section in the W3 Total Cache plugin to omit specific JS files, which I did as follows:
Never minify the following JS files:
wp-content/plugins/gravityforms/js/conditional_logic.js
wp-content/plugins/gravityforms/js/conditional_logic.min.js
(Always ignore the specified JS files. Use relative paths. Omit: protocol, hostname, leading forward slash and query strings.)
Purged all cache, but still not working.
Thought I’d share this if you had any experience with this.
Thanks again!
SCRATCH ALL THAT. I found a second plugin conflict and now all is good after applying the exceptions to W3. Thanks again, Chris.
Thanks for the update Josephine.