function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
anil Kumaranil Kumar 

Visualforce pages may not display more than 10 dependent picklists

Hi All,

Can anyone help me i am getting below error in the visualforce page, i am displaying 12 dependent picklist in the pageblock section.

Visualforce pages may not display more than 10 dependent picklists together with their controlling fields

Thanks,
Anil Kumar 
karthikeyan perumalkarthikeyan perumal
Hello, 

Not sure if SFDC Support can increase the limit, but there is a potential workaround here (I haven't tried it myself)

https://salesforce.stackexchange.com/questions/12018/creating-a-vf-page-dependent-picklist-error

Hope this will help you. 

Thanks
karthik
 
anil Kumaranil Kumar
Hi karthikeyan,

I have tried this, its is not helpful for me.

Thanks,
Anil Kumar 
Sukanya BanekarSukanya Banekar
Hi,

This is a limitation in salesforce that you can not show more than 10 dependenet values. You can do onw workaround. You can have 2 pages and include 2nd page in 1st page using <apex:include > tag and add 10 values in 1st page and remaining 2 values in 2nd page. But you need to create custom depedendent picklist in apex..

Let me know if this works for you.

Thanks,
Sukanya Banekar
anil Kumaranil Kumar
Hi Sukanya,

I can not create two pages since i have to perform lot of validations based on picklist values.

Thanks,
Anil Kumar