How to efficiently check if ANY field in the form is not null
Hi,
I'm guessing there's a way to programmatically check if any field has been entered when the form loads. Some sort of loop should do the trick...
I've tried using the following code (from dohanlon for another purpose) which should run through all form fields, but I can't seem to plug it into an if/else statement or even check for any non-null value.
xfa.resolveNodes("form1..#field[*]");
Here's conceptually how I'd like to do it:
if (xfa.resolveNodes("form1..#field[*\]".rawValue != null ) {
do it
}
I'm basically trying to check if any field is not null, then I can "do something". I know I can't use that to check .rawValue but I can't think of anything else.
I would appreciate any help (as always).