+ 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.