Webform module Version: 7.x-4.8
I have a webform with 2 levels of fieldsets before getting to the components (see screenshot at http://imgur.com/K28Ocko). When the email is sent, all the fieldsets are included in submission:values, even if the components are empty. I want to know how to exclude the fieldsets when the actual components are empty. The "Exclude empty components" checkbox does not seem to work with fieldsets.
Could you help by providing some code? I am a php beginner, so if you could provide file name and line numbers, that would be greatly appreciated. :)
Thanks.