Copy link to clipboard
Copied
Good morning all. I am stumped on how to use Javascript in Acrobat Pro DC. I have seen an example on how to click through two colors on a button on mouseUp.
event.target.fillColor = (color.equal(color.blue, event.target.fillColor)) ? color.green : color.blue;
I need to add two more colors to this, example red and yellow. It's for a map to show our transit station level of cleanliness (red = bad, green = good, yellow = currently cleaning, blue = job scheduled) something like that.
if anyone can help - I will be in your debt!!
thanks
Chicago Transit Authority
Copy link to clipboard
Copied
Hi,
Please use this link as reference : https://answers.acrobatusers.com/Variable-Color-Font-based-on-text-input-q246100.aspx
Copy link to clipboard
Copied
Hi,
Just a quick follow up and checking if the link that I provided for you had the answer that you were looking for.
If it did, would you mind updating this thread.