Can some one give me a hand please.
I have the following script on the page open event. It is to scan all the fields on the PDF and if any field has a value sets my variable d to 1. Currently it always returns a 0.
The Script:
var d= 0;
for(var i =0;i<this.numFields;i++)
{if(this.getNthFieldName(i).value !=""){if (d=0) {d=1}}}
app.alert(d);
Thanks
I have the following script on the page open event. It is to scan all the fields on the PDF and if any field has a value sets my variable d to 1. Currently it always returns a 0.
The Script:
var d= 0;
for(var i =0;i<this.numFields;i++)
{if(this.getNthFieldName(i).value !=""){if (d=0) {d=1}}}
app.alert(d);
Thanks