Skip to main content

Hi everyone 👋

I’ve been trying to create a “multi-select services builder”, where there are four types of services and depending on what combination of services you select, the respective plan card shows below.
Ex: When you select Internet, Mobile, and TV services, you will see an “Internet + Mobile + TV” plan card below the toggles.

I managed to utilize boolean variables and conditional prototyping to get to the point of showing the card swapping when selecting Internet and Mobile. 

However, I have to take into account what cards will show when selecting other variations of services. It’s also complex because the toggles (how you would select each service) have a selected/unselected state on click that I have to take into consideration. 

I did try connecting the Mobile selected state to the MobileSelected boolean variable and Internet selected state to the InternetSelected boolean variable, but the conditional prototype doesn’t seem to work when I have the variables set to false by default. 

Here’s the link to my file - Disclaimer, the visuals/content are changed and simplified from what my actual design looks like for confidentiality.

This is a bit difficult to explain in writing so please feel free to ask me questions for more context. Would truly appreciate anyone who could help me out as I’ve been stuck on figuring this out for days😭

 

Be the first to reply!