Tagpicklist

How to create dynamic drop downs in Salesforce?

H

I had task of creating two drop downs for a custom object in Salesforce: 1. Country – Listing all countries of the world. 2. State – Listing all States for selected Country dynamically. This wasnt a visualforce page, had to do it through custom fields itself. So I came across Dependent Fields concept in Salesforce. Its pretty easy to use and I just loved the way Salesforce has made it...

Creating Dependent SelectLists in VisualForce

C

We can create the SelectLists in VisualForce whose values will depend on the value selected in another selectlist.The method i have used here is using the Lists collection by programatically filling the values of the dependant selectlist based on the selected value. VisualForce code: <apex:outputLabel value=”Select State”‘> <apex:selectList value=”{...

Category