I have a client who likes to highlight rows on his to do list based on a certain type of task. Each type of task is a different color.
I would like to be able to create a dropdown with different color names in it and when a color is chosen, that row is highlighted in that color. I know how to do it with a button in the Indesign interactive PDF, but that makes the pdf too cluttered. My google-fu is failing me on how to do it with a dropdown list instead.
I have added a screenshot to show you what I have so far with the buttons.
I have the most recent version of Adobe Acrobat Pro.
Here is sample code you can work from, use it in "Dropdown" field validation script and in "Dropdown" field properties under 'options' tab check ' commit selected value immediately'. You can adapt code to reset colors if needed and also you can use RGB colors since built in object have only few colors at disposal.