I have a Dropdown menu with 4 choices of maintenance priority. With a javascript, I need to be able to select a "Priority" from a dropdown and then color a textbox border with an appropriate color.
"High Priority" with an Export Value of 0
"Medium Priority" with an Export Value of 1
"Low Priority" with an Export Value of 2
"When Time Permits" with an Export Value of 3
When one of these selections has been made, a text box becomes available in order to write the discrepancy. My Goal is this.
When "High Priority" is selected, the border around the text box where you would write the discrepancy would turn red.
When "Medium Priority" is selected, the border around the text box where you would write the discrepancy would turn yellow.
When "Low Priority" is selected, the border around the text box where you would write the discrepancy would turn green.
When "When Time Permits" is selected, the border around the text box where you would write the discrepancy would turn blue.
Otherwise the border would be white.
This form will ultimately be used on an iPad using PDF Expert as the reader. I am using Acrobat X to create the form.
Any help would be appreciated.