 Hello friends. I am Sanjay Gupta. I welcome you on Sanjay Gupta Tech School. In this video, I'm going to demonstrate you how you can control pick list values through checkbox. Before starting, let me share you how you can get me on YouTube. Search my name. My channel will be there. You can follow Salesforce related videos on my channel. So I'm opening custom objects. So I have one existing object that is employee on employee object. You can see I have one checkbox field that is select value and to pick list country and city. Right. So now I'm going to control country pick list through this checkbox. So I'm opening this. So inside checkbox detail page. You will see this field dependencies. So click on you. So here you can see controlling field is already selected as select value. So this is a checkbox field. It will show other fields also like city and country. So they can also become controlling field. But right now we are using checkbox as controlling field and country as dependent field. Right. Now I'm clicking on continue. So here you can see for checkbox, there are two options unchecked and checked. And for country, there are two options India USA for both checked and unchecked. So for unchecked, I'm selecting India for check. I'm selecting USA. So it means when checkbox is unchecked, I can select India as a country pick list value only. And if checkbox is checked, then I will be able to select USA only. If we have more values in country pick list, then we can select those values accordingly as per the requirement. Now I'm clicking on save. So this way we made country pick list as dependent for based on the select value checkbox. Now I'm opening employee in new tab. Clicking on new. So you can see right now this select value checkbox is unchecked. So let's see what is available in country pick list. So you can see only India is available as a value. Right. Now if I select India, so this other dependent pick list is activated and it is showing the cities of India. Right. Now if I select this checkbox as true, so it will show USA as country pick list value. So I hope you understood how we are managing pick list values based on the checkbox. So checkbox is controlling field and this country pick list is the dependent field. Now if I select USA from this country pick list, so USA related cities will be available in this city pick list. So in this scenario, select values, the controlling checkbox, then dependent is country, then country is again controlling for this city pick list. So this way we can control fields by making them controlling and dependent on each other. So I hope you understood how I implemented this functionality and later on you can see which fields are dependent on a particular field. So if you open like a checkbox field, so in inside field dependencies, you can see which fields are dependent on this checkbox. Right. So this is all about controlling as checkbox and dependent as pick list. I hope you understood how this functionality is working. If you want to watch more related Salesforce related videos, you can search me on YouTube. Thank you for watching this video.