- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi Srinivas,
Try moving the xfa.resolveNode out of the if statement and use a variable.
In addition if you use the tripple equal sign for testing that two operands are identical, you can then omit == null AND == "".
var myVariable = xfa.resolveNode("my_form.." + myArrayReq[i]).rawValue;
if (myVariable === null) {
// your code
}
Also the way you are passing the array through the xfa.resolveNode may be incorrect. Test using console.println or an app.alert.
Good luck,
Niall