When you want the options on a dropdown list (list B) to change based on the way a different dropdown field (list A) is set, you must set up cascading dropdown fields in SugarCRM. Here’s how to do it:
- Setup dropdown field for list A as normal
- Create dropdown field for list B
- In the list builder, add ALL options that will be available no matter what the corresponding list A option is
- Check the box for dependent
- Select the Parent Dropdown type, and select the list A field as the Parent Dropdown
- Click the Visibility Editor button
- You will see a ‘menu’ on the left of the options you created for list B. On the right, you will see a box for each list A option.
- Drag the correct options for list B into each of the list A options.
Tip: You can leave some list A option boxes empty to hide list B for those list A options.
Add both fields to your record view layout and any other layouts where you want to use them.
Posted in: