Forum Academy Marketplace Showcase Pricing Features

What is the best way to create on/off switches to control what a user sees

I’m trying to create a filter for my data. It uses simple on/off switches to show/not_show content based on what is clicked. What is the best method to accomplish this if the default is ON and the user can choose to turn OFF items to meet their selection? I would like to make this on control if possible.

Thanks for pointing me in the right direction

Create yes/no fields in the user type (default yes) for each option. Then, use visibility conditions for your content based on current user’s setting.

Example:
When user turns music off, make changes to current user > music setting = no; music content is visible when current user’s music setting is yes.

6 Likes

Thanks for the suggestion. I’ll give it a shot :slight_smile:

1 Like