Gform_export_fields – Remove subfield

Hi,

I’m using the gform_export_fields function to remove some fields from the export-list and I cannot find how to remove only subfield in complex-field like Address. I want to remove the field “Address (line 2)” (that is in my case 10.2).

How can I achieve it?

Thanks!

Hello. This example for that filter shows how to deal with complex fields:

If you need more assistance, please let us know.