Hii wondering if this is possible. Can I have a value default in a dependent pick list based on the controlling field selection (I only have 1 value in the dependent field). So can this be defaulted somehow? Thanks in advance!
-
Welcome to SFSE. If it makes sense functionally, you can make the dependent picklist as required, then its value will be defaulted.– ShaminaApr 4, 2022 at 18:43
-
Thank you! How do I make it required?– chocolatestrawberriessApr 4, 2022 at 20:28
-
Under "Fields & Relationships" for that object, open the dependent picklist field, click on Edit and check the option "Required"– ShaminaApr 5, 2022 at 1:57
1 Answer
Go to the respective object page layout and make the dependent picklist field as mandatory and save page layout.
Lightning Navigation: Setup --> Object manager --> Object --> Page layouts.
While creating a record, select controlling field value then dependent field value will be auto updated. Refer the below screenshot.
Note: Lightning, it works for new records.