How to handle empty dropdown fields in the export using hooks?
-
Hello,
I am using your plugin to export entries from Gravity Forms, and I’ve encountered an issue with handling empty dropdown fields. Specifically, I have a dropdown field with one selectable option that has the value
YES. If the field is not selected, it remains empty. However, during the export process, it seems that empty dropdown fields are completely skipped, and thegfexcel_field_valuehook is not triggered for these fields.This behavior makes it impossible to assign a default value (e.g.,
0) to such fields during export. Is there a way to ensure that empty dropdown fields are included in the export and processed by the available hooks? Alternatively, is there another hook or method I could use to modify the exported data to assign default values to these empty fields?Thank you in advance for your guidance!
Best regards,
The topic ‘How to handle empty dropdown fields in the export using hooks?’ is closed to new replies.