Gravity Forms fails to initialize forms after the_flexible is called
-
As the title says, after using the_flexible, Gravity Forms fails to initialize any form below where the_flexible is used using its normal shortcode. It still outputs the form; however, it doesn’t do it’s normal rendering/loading process – so the form is hidden/unusable.
I’m not really sure what the_flexible could be doing to cause a conflict here – it seems pretty odd.
Steps for repro:
if (has_flexible('layout')) {
the_flexible('layout');
}Then use a normal ACF field:
the_field('thing', 'option');
Which has this:
[gravityform id="1" title="true"]
The form will output, but will remain hidden/accessible as it didn’t go through it’s normal initialization process. Changing the order of these things will fix the issue (placing the_field above the_flexible).
Advanced Custom Fields PRO: Version 6.3.1.2
Advanced Custom Fields: Extended: Version 0.9.0.5
WordPress: Version 6.5.4
Gravity Forms: Version 2.8.12.1
- You must be logged in to reply to this topic.