GFAPI::get_form "conditionalLogic" field not populated

Hello, the “conditionalLogic” field within a var_export of GFAPI::get_form() does not get populated with the conditional logic set for the GF form that is exported. So I can just set this field manually before feeding the data to GFAPI::add_form(), but I don’t know what the syntax is supposed to be. Does anyone know what the syntax is supposed to look like for this field being fed to add_form()? Can I see a good example so I can just fine-tune it to my needs?
I’d like to show the text input field (whose conditional logic is to be set) only when a specific radio field is selected.
BTW, I am using the latest version of GF when calling get_form and add_form.

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