Thread Starter
EkoJR
(@ekojr)
Ah, I found the issue, altho I still think the root issue could be solved with Caldera, but I may be mistaken.
The problem occurs with W3 Total Cache with the Minify support. Turning it off solves the issue, but isn’t ideal. 1 suspect is there might be a conflict with the syntax during minification.
Thanks for using Caldera Forms.
This is likely an artifact of minifying minifed files. If you see in /*]]>*/ in Caldera Forms when using W3TC W3 Total Cache you can fix this with the caldera_forms_render_assets_minify filter. That will cause Caldera Forms to supply unminfied JavaScript to W3TC so this Caldera Forms error with conditionals does not occur.
https://calderaforms.com/doc/caldera_forms_render_assets_minify/
Very Helpful!
I was looking to fix this same problem.
I saw that you posted it was from W3 total cache so I went over and made the exclusion in the minify settings for the relevant pages.
It was showing a “/*” before the name of the field and a “/*]]>*/” after the field.
Thanks again!
-
This reply was modified 8 years, 8 months ago by
Acefire.
Thread Starter
EkoJR
(@ekojr)
Opps, I meant to reply back to verify this is working, but I was pretty busy at the time. Thank you for commenting btw.