Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

bRename method not working

Community Beginner ,
Nov 28, 2023 Nov 28, 2023

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!

1.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Beginner ,
Dec 06, 2023 Dec 06, 2023
LATEST
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 28, 2023 Nov 28, 2023

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">
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 28, 2023 Nov 28, 2023

Oh I see. Thank you!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 28, 2023 Nov 28, 2023

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 29, 2023 Nov 29, 2023

You should try this script:

if (this.getTemplate("Positive Pay Users") != null) {this.getTemplate("Positive Pay Users").spawn(this.numPages, true, false);}

Acrobate du PDF, InDesigner et Photoshoptographe
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 06, 2023 Dec 06, 2023
LATEST
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines