Hi All
This one has got me confused! I have set drop downs to change color depending on the selection using the following code:
if ($.boundItem(xfa.event.newText) == "1") {
this.resolveNode("$").ui.oneOfChild.border.fill.color.value = "153, 204, 0";
}
if ($.boundItem(xfa.event.newText) == "2") {
this.resolveNode("$").ui.oneOfChild.border.fill.color.value = "255, 153, 0";
etc
I have this in the 'Change' event and the 'Layout Ready' event, I have also tried it in the 'Initialize' event but with no success. The issue is this: the colour changes fine as the user fills in the form however is lost when they save and reopen (the selection values are fine just the color coding is lost)
BTW I am saving the PDF with 'Extended Features' as I thought maybe this could be a 'licence' related issue with Adobe Reader
Does any one have any idea of where to look to solve my problem please?
Many thanks
Ellis