I'm encountering the following issue:
1. Data is entered in any user profile field (e.g. checkbox checked, date entered, etc.) on the user profile and saved.
2. Based on conditions, some of these fields are hidden (e.g. selecting a different radio option hides a checkbox which was ticked).
3. Save the user profile after some fields have been hidden.
4. Edit the user profile again and change the radio button option so that the hidden fields appear again.
5. Note that data from any of the previously hidden fields has been cleared.
While the fields were hidden when the profile was saved, it should not have cleared the data in any of those fields. Is this a bug? How can I avoid this?