Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Can a drop down list show the value instead of the text?


Not applicable
I'm creating a drop down list where the end user only wants to see the value on the completed pdf and not the text. For example, the drop down would display:

01 This is the first option.

02 This is the second option.

03 This is the third option.

But when selected, the field would only display the value:


Is this possible?
4 Replies


Level 10
You can have it so that when the data is submitted it will contain 01 but you cnnot change the display of the dropdown without clearing it and resetting the values to be 01, 02, 03 ...


Not applicable
Thanks for the response, Paul. Do you have any suggestions as to how to get something like this to work? The end user is very particular and does not want to view the whole description - just the code. However, we need the whole description for the initial user so they select the correct code.


Not applicable
Jill, check out my post on this subject for Designer 7.1. Perhaps you can use in 8+


Not applicable
Helen, thank you!!!! This one worked for me:

Also, you can achieve the same result with the Change event:

if (xfa.event.newText == "1 - Air Force") {

(xfa.event.change = "1");


else if (xfa.event.newText == "2 - Army") {

(xfa.event.change = "2");