New page woes!!
Hi,
I am using a template to add pages to a document which works fine. I have some (48) field calculations to check a box if an input value is between a certain range. It works fine on page 1. I know it is not working because the field names in the calculation do not change with the new field names generated with the new page.
Here is the script I am using on Page 1:
var drop = this.getField.("InputText7");
var check = this.getField.("CheckBox1");
if(drop.value >= '0' && drop.value <= '0.25'){
check.checkThisBox(0,true);
}
else{
check.checkThisBox(0,false);
}
Is there a way to use this page and a field containing a part of the name in the calculation as going forward the fields on all the pages will contain "InputText7" and "CheckBox1" but with P1 and the name of the template added to it etc.
I am using Adobe Acrobat Pro.
Thanks in Advance.
David.
