+ Start a Discussion
SapanaSapana 

Preselecting a picklist value on a VF page

I have two objects Partnership and Participant where Participant is a child object of Partnership object in a Master Detail relationship.

I have a picklist  "Partnership Type "  on Partnership object with values {LP , LLC}  and other two picklist on Participant object named  "Partnership Type " with values {LP , LLC}  & "Participant Role" with values {A,B,C,D,E,F} . Partnership Type is controlling picklist  and Participant Role is dependent picklist

Now suppose I select a picklist value for "Partnership Type " in Partnership record then a child Participant record for that  shows only those values for Participant Role which are relevant to its controling picklist field

How could this be done? reply