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
JillWJillW 

Filling in Opportunity Name

I would like to change the Opportunity Name from being a text box to being a drop down box.

 

Failing that, I would like to insert a drop down box that people can use to fill in the Opportunity Name box.

 

What is the correct syntax to use in order to get SalesForce to fill in the name in from the drop down box.

 

In pseudo code, what I want is:

 

If Drop Down is Not Null, then name = Account Name + _ + Drop Down List Value.

 

Thanks in advance!

Best Answer chosen by Admin (Salesforce Developers) 
hhuiehhuie

Name & "_" & CASE(field,values)

 

Issue you might have is since it's a drop down value you're going to have to do CASE I think

 

Hope this helps

All Answers

hhuiehhuie

Name & "_" & CASE(field,values)

 

Issue you might have is since it's a drop down value you're going to have to do CASE I think

 

Hope this helps

This was selected as the best answer
JillWJillW
I did get that to work, thanks!