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

Delete button, add page button, mobile forms, multiple devices - FORMS

Community Beginner ,
Feb 25, 2022 Feb 25, 2022

Hello everyone,

 

I am trying to create a form that is fillable for other users. The main goal is to create a "maintenance book" for my technicians, so I need buttons such as: delete page, add new page, save form.

I have already managed to spot a form that has a button that creates a new page, so I have a javascript code for this.

I found an information that I need to convert a form to a template. If I already have created a form in Adobe Reader Pro DC(for now trial version)  am I able to convert it to the template in that app? 

Second thing, could someone provide me the javascript code for the "delete one page" and "save form function"?

And last question, When I will have a licence for one user, should I also buy it for my technicians so that they are able to fill the forms? The will work on android smartphones only.

TOPICS
Edit and convert PDFs , How to , JavaScript , PDF forms
2.7K
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 ,
Mar 05, 2022 Mar 05, 2022

That script will only work on the last page of the file. If you spawn multiple copies you need to refer to the page number differently. For example, you can use the page property of the field that triggers it (the check-box) to do it.

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 ,
Mar 05, 2022 Mar 05, 2022
quote

For example, you can use the page property of the field that triggers it (the check-box) to do it.


By try67

I am afraid I didn't catch that. Could you explain it to me?

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 ,
Mar 06, 2022 Mar 06, 2022

Use the original code give by @JR Boulay , basically.

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 ,
Mar 19, 2022 Mar 19, 2022

@try67 wchich code do you actualy mean? 

 

I was also wondering if it is possible to give the spawned page specific order. For example that spawned page 3 always have to be before spawned page 4. Second thing is, not always some of the pages will be spawned. How to maintain in that case order of the other pages?

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 ,
Mar 19, 2022 Mar 19, 2022
LATEST

What about show/hide feature built in Adobe for the checkbox. Is it possible to show and hide an element with the one checkbox or there have to be two checkboxes? Actually it doesn't matter for me if it is checkbox, button or radiobutton. I would like to have one item that makes two operations. Is it possible without JS?

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