Hi all,
We have a form that makes extensive use of Display Rules to hide fields by default and only show them when other fields are completed in a certain way.
It seems that regardless of whether a field was displayed and/or completed by the user, the data for that field is still included in the email on submission.
I've been scratching my head trying to work out how to remove hidden fields from the email, for example using a conditional in the template such as:
<% if $Display == 'Show' %>
($Display being an Enum defined in EditableCustomRule.php with values of Show and Hide.)
Any bright ideas?