Copy link to clipboard
Copied
I am using a combo box a shift scheduling layout
is there a way to have the value displayed with just a letter after the selection is made
For example, the Combo Box options are Sick, Vacation, Comp time, Bereavement, Military, and so forth
So if the selected item is Bereavement can it display B or vacation a V ect.
Space is limited, so just an initial would be sufficient I have explained to the bosses that we can just use the initials, to begin with, but they don't believe an individual would remember that S stood for Sick Leave and a C stood for Comp time
Any help would be greatly appreciated.
Copy link to clipboard
Copied
Out of Javascript, couldn't a description bring the valuable information ?
Copy link to clipboard
Copied
When I need to do something like this, I use a pop-up menu instead, along with a text field. You can use a button, either visible and placed next to the text field, or invisible and placed in the same location as the text field, to trigger the app.popUpMenuEx (or app.popUpMenu) script, which populates the text field with the letter corresponding to the selected item. Post again if you'd like help with the script.
Copy link to clipboard
Copied
Here's more info on Acrobat UI devices, including the popup menu George mentions, which is an excellent way to go:
Alerts, Popups, and Other Devices for Interacting with the User
Find more inspiration, events, and resources on the new Adobe Community
Explore Now