I have run into an issue when inserting a Gravity Form into a Salient template via WPBakery.
The Donation Form we are using references ACF Field values of a Custom Post type, and then changes what is displayed on the Form based on those ACF field values dynamically from post to post. If we include the Donation Form outside of a template, everything works great.
However, once that same Form is added to the post through a WPBakery template using the standard Gravity Form WPB element the dynamic behavior stops working. We’ve tried adding the form to the WPB template both as a shortcode and with a WPBakery Gravity Form object, neither option has gotten that dynamic functionality to work. It feels like adding a Gravity Form to a post through a template is somehow preventing the dynamic code’s ability to reference the ACF Fields.
We first reached out the Gravity Form's support and they mentioned that if the form is working as intended when insert to the page outside a Template, that the issue is likely on our Theme or Page Builder's end and we should contact them about the issue. Hence, this support ticket. Could you assist?
Unfortunately our site is not published yet, and I can't get you a URL to a page with an example. Is there some other way for me to share relevant info so you can see what's going on?
The first thing I would want to check is the browser console. Could you kindly check if there are any errors being logged in there when loading the page?
Also, could you screenshot the page frontend so that I can see what template you're currently using?
Hello!
I have run into an issue when inserting a Gravity Form into a Salient template via WPBakery.
The Donation Form we are using references ACF Field values of a Custom Post type, and then changes what is displayed on the Form based on those ACF field values dynamically from post to post. If we include the Donation Form outside of a template, everything works great.
However, once that same Form is added to the post through a WPBakery template using the standard Gravity Form WPB element the dynamic behavior stops working. We’ve tried adding the form to the WPB template both as a shortcode and with a WPBakery Gravity Form object, neither option has gotten that dynamic functionality to work. It feels like adding a Gravity Form to a post through a template is somehow preventing the dynamic code’s ability to reference the ACF Fields.
We first reached out the Gravity Form's support and they mentioned that if the form is working as intended when insert to the page outside a Template, that the issue is likely on our Theme or Page Builder's end and we should contact them about the issue. Hence, this support ticket. Could you assist?
Hey RCAIT!
Could you kindly share the page URL where the issue can be observed so I can take a look?
Thanks
Hello, thanks for your quick reply!
Unfortunately our site is not published yet, and I can't get you a URL to a page with an example. Is there some other way for me to share relevant info so you can see what's going on?
The first thing I would want to check is the browser console. Could you kindly check if there are any errors being logged in there when loading the page?
Also, could you screenshot the page frontend so that I can see what template you're currently using?
Thanks in advance