When selecting values from Custom Field "B" based on the choice in Custom Field "A," apply a color-based restriction to filter options:
Dropdown #1 (Category Selection)
Options include:
"Fruit" (Yellow)
"Vegetables" (Blue)
Dropdown #2 (Item Selection)
Options available are filtered by the color match with Dropdown #1’s selection:
If "Fruit" is chosen, only Yellow options appear (e.g., "Orange," "Apple," "Banana").
If "Vegetables" is chosen, only Blue options appear (e.g., "Carrots," "Cucumber," "Lettuce").
This structure ensures that Dropdown #2 presents options compatible with Dropdown #1’s selection color.