How to hide email according to user input?
Hello,
I have a form where the user has to submit his email address. Under this field I want to make a checkbox field where it writes "make my email address public". If the user uncheck this field, I want the data in the view mode be published with the email address section with the default "hidden by user" sentence. For the users who left the field checked, the email address shall be published. Is there a practical way to program this.
Many thanks,
Vera