I'm using the basic comment module to allow users to leave comments (name, phone, email, comment, and rating) on each resource for that specific comment type. One of the fields is an option to allow users to choose to share their personal information to others if they want. All comments are unpublished by default and have to be moderated to be published.
So, my question is this: how can I selectively choose to publish a users email or not depending on if they selected to share that information with others?
Either a manual or automatic way would work fine. Thanks!