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

Conditional number of repeated sections in acrobat form

Community Beginner ,
Oct 14, 2022 Oct 14, 2022

Copy link to clipboard

Copied

I have an Acrobat form which includes a page of questions that need to be answered (using radio buttons) once or up to ten times.  Can I enter the number of times it is to be repeated, then only show that page that number of times?  I have tried to research this but without success.

Ray
TOPICS
Create PDFs , PDF forms

Views

886

Translate

Translate

Report

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 ,
Oct 14, 2022 Oct 14, 2022

Copy link to clipboard

Copied

Are you talking about showing the full page X times, or the radio-button fields? Either is possible, using a script, but the scripts needed for either one are quite different.

Votes

Translate

Translate

Report

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 ,
Oct 14, 2022 Oct 14, 2022

Copy link to clipboard

Copied

Thank you for your respone.  I would want the full page X times.  The form is a safety check list of 20 questions for home gas appliances (eg pass, fail), so a home may have 1 or up to 10, say, gas appliances. I can enter the number of appliances up front (eg 3), and then would the questions page to be completed three times, with the first question identifying the particular appliance followed by the 20 pass/fail questions. 

Ray

Votes

Translate

Translate

Report

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 ,
Oct 14, 2022 Oct 14, 2022

Copy link to clipboard

Copied

Just to be clear in response to your question, the form has some general information (address etc) and then one of more pages of the appliance details and the 20 pass/fail questions for that appliance, with radio button responses, and then some concluding questions.   

Ray

Votes

Translate

Translate

Report

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 ,
Oct 15, 2022 Oct 15, 2022

Copy link to clipboard

Copied

Use a page template.  Search the Acrobat forums for "spawn page template" You'll find lots of code.

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Votes

Translate

Translate

Report

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 ,
Oct 17, 2022 Oct 17, 2022

Copy link to clipboard

Copied

Thank you for that. I have done this research, but I am unable to find how I create and manage the template. It is also not clear to me what a template is.  Is it just a page?  I am using Acrobat XI, and as far as I can see there is no reference to templates anywhere in the app.  

Ray

Votes

Translate

Translate

Report

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 ,
Oct 17, 2022 Oct 17, 2022

Copy link to clipboard

Copied

A page template is a regular pdf page that has been marked as a template. Once marked it can be spawned into many different pages, all of which will be identical to the original. 
To create a page template open the "Organize Pages" Tools.  Select the page you want to turn into template and then select the "Page Templates" menu item from the "More..." menu. 

 

PageTemplateCreation.jpg

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Votes

Translate

Translate

Report

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 ,
Oct 17, 2022 Oct 17, 2022

Copy link to clipboard

Copied

In XI it's under Document Processing, actually:

 

try67_0-1666039187313.png

 

Votes

Translate

Translate

Report

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 ,
Oct 17, 2022 Oct 17, 2022

Copy link to clipboard

Copied

Thanks, I only do DC these days.  Nice how the UI changes completly with each new version. At least those days are gone, I hope. 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Votes

Translate

Translate

Report

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 ,
Oct 17, 2022 Oct 17, 2022

Copy link to clipboard

Copied

I guess you didn't see yet the "wonderful" new feature that switched the locations of the Tools and Pages/Bookmarks/etc. panels in DC...

Votes

Translate

Translate

Report

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 ,
Oct 17, 2022 Oct 17, 2022

Copy link to clipboard

Copied

LATEST

I don't think I've been updated, but I did see that in a screen shot somewhere.  There's always gotta be something.  At least it's not a complete redo. 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Votes

Translate

Translate

Report

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