In a form, is there any way to dynamically change both the field label and also the default value in the picklist? I can get the field label to change, but the picklist for the selected option will not change. It only shows as blank. | Community
Skip to main content
Level 3
October 7, 2015
Solved

In a form, is there any way to dynamically change both the field label and also the default value in the picklist? I can get the field label to change, but the picklist for the selected option will not change. It only shows as blank.

  • October 7, 2015
  • 2 replies
  • 2394 views

The customer would like "United States" to be the default value only when "solar inquiries" is selected. I am using "USA" so it'll be different from "United States" already in the picklist. The "Business Location" label is showing on my live test page, but the default value "USA" is not. There just is no default value in that dropdown. I tried adding "USA|USA" to the original field values list for the Country field, but that made no difference. Is this even possible?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Josh_Hill13

USA must be in the main list of values BEFORE you select the Variable option. All values you intend to use in any choice must appear in the main box first.

Don't worry, the lead will only see the correct one.

2 replies

Josh_Hill13
Josh_Hill13Accepted solution
Level 10
October 7, 2015

USA must be in the main list of values BEFORE you select the Variable option. All values you intend to use in any choice must appear in the main box first.

Don't worry, the lead will only see the correct one.

October 7, 2015

Hi Nancy

For the value of USA to appear in the drop down, in addition to including it in the Visibility Rules as you have done so here, you also need to include it as a value in the Country select drop down.  To do so go to the Country field, then select values on the right hand side.  Then add "USA" or whatever other values you'd like to appear across the different visibility options here. As in the screenshots below.

Hope that helps!

Bronwen