Copy link to clipboard
Copied
I have created a fillable form with an "Add Page" button on the final page to duplicate the final page and allow extra space as needed. The page is duplicating correctly, but all of the information entered in the fields on the initial page is copied to the new page as well. I have tried using the bRename method to make sure the fields on the duplicated page have different names and do not carry information from the previous page over, but it does not seem to be doing anything. Here is the JavaScript I am using for the button:
var a = this.getTemplate ("Positive Pay Users"); a.spawn({bRename:true});
Any help is appreciated! Thank you!
Copy link to clipboard
Copied
Copy link to clipboard
Copied
in the future, to find the best place to post your message, use the list here, https://community.adobe.com/
p.s. i don't think the adobe website, and forums in particular, are easy to navigate, so don't spend a lot of time searching that forum list. do your best and we'll move the post (like this one has already been moved) if it helps you get responses.
<"moved from using the community">
Copy link to clipboard
Copied
Oh I see. Thank you!
Copy link to clipboard
Copied
you're welcome. currently your post is in the acrobat forum (my best guess as to the program about which you're asking), https://community.adobe.com/t5/acrobat-discussions/brename-method-not-working/m-p/14263889#M69322
Copy link to clipboard
Copied
You should try this script:
if (this.getTemplate("Positive Pay Users") != null) {this.getTemplate("Positive Pay Users").spawn(this.numPages, true, false);}
Copy link to clipboard
Copied