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
PeacePeace 

Auto suggest default value in a picklist depending on a value in the corresponding textbox

Hi,

 

I am new to salesforce.  Please help me in implementing following requirement

 

There will be one Textbox containing a value (eg. First Name)

And there will be a Picklist which will have certain Values (eg. Name, Age, Current City etc. )

 

Now depending on the value in the Textbox, i want the picklist to show relevant default selected value

( If Textbox has value as 'First Name' then picklist should show default value as ' Name'

 

if Textbox has Value as 'City' then picklist's default value should be 'Current City')

)

 

 

 

 

Avidev9Avidev9
Have you tried using dependent picklists ?

I guess you can configure them to get this kind of result. Not sure though