These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

two equals value in Dropdown list

obala
Registered: Mar 18 2011
Posts: 2
Answered

Hello community,
 
i'm new in the forum that i'm found great !
 
i have a dropdown list with five values. Each value return a text in a text-field. Two of them are identical (e.g ABC) but muss return two different text ( e.g. IJK and XYZ)
 
first value ABC -> IJK
second value ABC-> XYZ
 
Unfortunatly, the 2nd value return IJK too.
How can i solve this problem ?
 
I use a switch (case) script with JavaScript !
Thanks a lot,
 
Obala
  

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
Accepted Answer
Two identical values are generally not typical in a dropdown box.

If you wanna use the same string twice you should add a space the the second one.
"ABC " will look the same on the screen but is differently to "ABC" because of the space.

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

obala
Registered: Mar 18 2011
Posts: 2
Hello Radzmar,

radzmar wrote:
Two identical values are generally not typical in a dropdown box.If you wanna use the same string twice you should add a space the the second one.
It was what i'm done ! But i was thinking that i can have a better solution.

radzmar wrote:
"ABC " will look the same on the screen but is differently to "ABC" because of the space.
Anyway thank you for the answer !

Obala