On the BuddyPress profile page, how can I expand and collapse each group of profile fields?
I would like the default state of each group of profile fields to be collapsed and look like:
GENERAL INFORMATION ABOUT ME
SUBJECTS I HAVE STUDIED
MY EDUCATION AND WORK
To see the profile fields in each group, a user would click on the group name. Let’s say someone clicked on the group SUBJECTS I HAVE STUDIED
The profile page would then look like:
GENERAL INFORMATION ABOUT ME
SUBJECTS I HAVE STUDIED
Math: Yes
Science: Yes
Ancient Languages: No
MY EDUCATION AND WORK
So, the group that is clicked on expands, while the other groups remain collapsed. When the group is clicked again, it would return to a collapsed position.
Hope you are able to help.
Wain