Reply
Regular Contributor
Sfdc@Smitha
Posts: 34
0
Accepted Solution

Can we use check box in dependent picklist?

Hi

 

Interview question:Can we use the check box in dependent picklists?Can anybody help me?

Super Contributor
j020
Posts: 743
0

Re: Can we use check box in dependent picklist?

I think it's a NO....If anyone knows please share a sample code :) will help other at some points for sure...
If my solution worked for you mark it as resolved and hit KUDOS.
Regards,
J
MicroClouds.in/blogs
Salesforce Certified Developer
Super Contributor
rov
Posts: 575
0

Re: Can we use check box in dependent picklist?

Yes you can use Checkbox with a dependent picklist however Checkbox fields can be controlling fields but not dependent fields.

 

you can try this  -

 

On an Object , Create a Checkbox field D1__c , Create a Picklist field D2__c ,

Under the Custom fields and Relationship Section Click the 'Field Dependencies' button, Click New

In the controlling Field choose D1 and in Dependent field Choose D2

 

The page that opens next is very self explanatory. follow the instructions and you'll learn that Checkbox can be used in a dependent picklist.

 

 

 

Super Contributor
j020
Posts: 743
0

Re: Can we use check box in dependent picklist?

Sorry :) may bad... I should have read it once more... I thought you want a check box as a picklist value... :) thanks Rov ....
If my solution worked for you mark it as resolved and hit KUDOS.
Regards,
J
MicroClouds.in/blogs
Salesforce Certified Developer