I was able to fix this by putting the script in the "Calculate" tab, even though nothing is calculated. I would still like to know why Adobe is getting an old event though
1 person found this helpful
Because the value is not yet committed to the field at that point. To
access the new value (in either one of these events), use event.value
instead of this.getField("").value.
On 26 January 2018 at 18:57, joshual57966311 <firstname.lastname@example.org>
Do not use the calculate event. This is not a good idea. Listen to Try67
Read these articles on DropDowns.
This one discuses changing another field, but the same technique (simplified) could be used to change the field color.
This one just discusses the basics for programming dropdowns in Acrobat