Get shortcode field parameter value in PHP for use with gform_pre_render

I have a form which is used in multiple areas within the site.

In one location I’m using this shortcode setup
[gravityform id=“XX” title=“false” description=“false” ajax=“true” field_values=“membership_promotion=Something”]

I have some custom logic setup to dynamically update a field on other pages/areas.
As per this example - https://docs.gravityforms.com/dynamically-populating-drop-down-or-radio-buttons-fields/

As per the custom logic used, when looping through the fields,
WHEN the field/parameter value for membership_promotion == Something
I want to break and stick with the original default values set within the UI

Although I could use multiple forms, I want to get all the entries in the one location.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.