Hello All!
I am relatively new to creating forms within LiveCycle but I have learned quickly so bare with me on my question.
I have figured out how to highlight a field when a check box is clicked on, however, I cannot get it to remove the highlight when the check box is unchecked?
This is what I used for the highlight:
Subform1.fieldname.fillColor="255,255,0"
Can anyone provide any insight or suggestions on how I might fix this script issue?
Thanks in advance!
-Lisa
Views
Replies
Total Likes
Hi,
Script migth be something like this. Put it on Change event of the check box
if (this.rawValue == 1) {
Subform1.fieldname.fillColor="255,255,0"
xfa.layout.relayout();
}
else
{
Subform1.fieldname.fillColor="255,0,0"
xfa.layout.relayout();
}
BR,
Paul Butenko
Views
Replies
Total Likes