We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

How do I make a mutli-select field and in my template get all the possible values for it?

How Do I?

dmDev08's avatar
dmDev08
100 posts
8 years ago
dmDev08's avatar dmDev08

I have a grid of employees that can each have multiple “departments” they belong to. So I need to use a multi-select.

However, on the page, I want to have a dropdown that allows choosing one of those values, and then it’ll filter out the employees that don’t have that department.

I don’t see where i can populate the multi-select with a channel, and I can’t figure out how to get all the values for my dropdown in the template.

How would I do this?

ExpressionEngine 3.5.3

       
Jeremy S.'s avatar
Jeremy S.
353 posts
8 years ago
Jeremy S.'s avatar Jeremy S.

Have you looked at dynamic parameters?

https://docs.expressionengine.com/latest/channel/dynamic_parameters.html

       
Rob Allen's avatar
Rob Allen
2,950 posts
8 years ago
Rob Allen's avatar Rob Allen

I’d suggest that using Relationships or Categories for your departments might be a better way to go.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.