Inserting dynamic content based on selected dropdown option in the CMS

I’m working on my first site using Webflow’s CMS, and so far everything is working well. However there’s one thing in particular that I can’t seem to figure out… and that’s whether it’s possible to populate a specific text box based on a selected attribute in the CMS.

For example, I’m working on a website that reviews hotels, and when a new hotel is added the team will select up to 6 “features” of the hotel from a dropdown in the CMS (e.g: EV Charger, Pet Friendly, Restaurant in the hotel, etc). I’ve figured out how to make those “features” appear on the hotel page as a line of text, but I also want to include a sentence or two underneath each of those features. I’d ideally also include an icon dynamically based on the selected feature… but the text part is more important right now.

Is there a way to build this out so that if a selected feature (e.g: “pet friendly”) is selected, that line of text and another pre-defined piece of text would appear on the front end? The screenshot below is what I’m trying to accomplish:

Read-only link: Webflow - Travel

In general, you’d add a CMS Collection that contains those Features, e.g Pet friendly, EV charger, along with the description, icon, etc. Then you would reference those from your Hotels collection with a multiref field.

In your Hotels collection page, you can then drop a collection list, bind it to that multiref field, and list the features that were selected for each hotel.

The collection list would replace this area [1]

1 Like

Perfect — thank you! I’ll give that a try later today :+1:t3: