I’m trying to build a content type that has two selectlist fields.
My problem is that the first field should filter the second field options
For example:
First field options:
-Red (Selected)
-Blue
-Green
Second field options would be:
-Apple
-Strawberry
-Cherry
You want the Conditional Fields module.
You can set the controlling field (colors) to trigger the controlled field (fruit) when ‘Red’ is selected. You can change these settings by editing the Controlling field on the ‘Manage Fields’ page.