Hello
I am trying to get the TextField1's CAPTION/LABEL/DESCRIPTION (what text user sees on the form, say 'Account #') with the below code but its not working, pls. let me know the syntax to get it
var a;
var b
if (xfa.resolveNode("("VISITOR.PAGE1.Subform1.TextField1").rawValue == null) {
a = xfa.resolveNode("VISITOR.PAGE1.Subform1.TextField1").name;
b = xfa.resolveNode("VISITOR.PAGE1.Subform1.TextField1").id;
{
app.alert( b + " is a required field")
}
}
Thank you