Custom formatting for drop down menu color change.
Hi,
Being a beginner at Javascript and have been looking and searching for the right code.
I really hope that you can help me.
I have created a fillable PDF with a dropdown menus. The dropdowns have 3 options and want each option to result in a color.
This is the script I currently have been working on i'm able to get the color to change for "Complete" but not for "In Progress" or "Not Started"
if (event.value=="Complete")
event.target.fillColor = color.green;
else if (event.value=="In_Progress")
event.target.fillColor = color.yellow;
else if (event.value=="Not_Started")
event.target.fillColor = color.Red;
event.target.fillColor = color.transparent;
