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
Ravindar AdminRavindar Admin 

How to appear the fields of a object based on the custom picklist value (picklist created in page) selection in visualforce page?

Kim Mikhail CabelaKim Mikhail Cabela
Hello Ravindar , 
  are you expecting dynamic fields? try declaring the sobject in the controller as getter setter. Then create a logic in the controller base on the picklist selected in the vfpage to bind the fields in vfpage. I think fieldset can be used here to create them dynamically.

Regards,
Kim
Ravindar AdminRavindar Admin
Hi  Kim Mikhail Cabela .Yes, I am expecting dynamic fields of 5 objects. If i select one picklist object fields s/b displayed. If i select another picklist another object fields s/b displayed
Kim Mikhail CabelaKim Mikhail Cabela
Hello Ravindar , check this article https://developer.salesforce.com/forums/?id=906F0000000BQyuIAG , there is an example from Amit Chaudary.