Magus069,
I really appreciate you taking the time to respond and compose such a code! However, I am new to Livecycle and fairly new to coding, so I don't fully understand functions. I was hoping there might be a simpler method that someone with little coding experience might be able to grasp. I'll continue to read through your code to try and understand but to give you an idea of how basic my skills are, here's the code I've been working with:
if((this.resolveNode("Page1.RB.Yes").rawValue==null && this.resolveNode("Page1.RB.No").rawValue == null || this.resolveNode("Page1.TextField1")==null)){
xfa.host.messageBox("Please answer the highlighted fields", "Form Incomplete",1);
}
if(this.resolveNode("Page1.RB.No").rawValue==null) {
RB.No.border.edge.color.value="255,0,0";
}
else {
RB.No.border.edge.color.value="255,255,255";
}
if(this.resolveNode("Page1.RB.Yes").rawValue==null) {
RB.Yes.border.edge.color.value="255,0,0";
}
else {
RB.Yes.border.edge.color.value="255,255,255";
}
if(this.resolveNode("Page1.TextField1").rawValue==null) {
TextField1.border.edge.color.value="255,0,0";
}
else {
TextField1.border.edge.color.value="255,255,255";
}
This method has been giving me trouble when I try to check if an object is null and visible. Once I add those conditions it will stop working. Thank you so much for your help!