Incrimental buttons for spawned pages.
I have a form that has fields that will be used to tally devices. I created the button and the form fileds. It works perfectly but not on spawned pages.
This is the script im currently using.
var prefix = ".";
var nameParts = event.target.name.split(".");
if (nameParts.length > 2) {
prefix = nameParts[0] + "." + nameParts[1] + ".";}
var oFld = +this.getField("QWR");
if(isNaN(oFld.value))
oFld.value = 0;
else
oFld.value += 1;
Any help will be greatly appreciated.