Making a form field visible and automatically moves other form fields

Explorer ,
Feb 14, 2020 Feb 14, 2020

Copy link to clipboard

Copied

Does anyone know if this is possible ? 

I have a form that has the potential of 0 to 4 clients work of information to be filled out. 

If the person selects 3 clients I would like 2 client sections to appear, I know how to make a field "hidden" and visible. But is it possible for other form fields to move down automatically if more than one client is selected. 

So if there is 2 clients (when the option is selected) a second client section would appear but insert itself under the first client and then move everything else down automatically so it does not overlap. 

 

Thank you

TOPICS
Acrobat SDK and JavaScript, How to, PDF forms

Views

72

Likes

translate

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

correct answers 1 Correct Answer

Adobe Community Professional , Feb 17, 2020 Feb 17, 2020
Creating a Page Template for the client sections is the way to go. Reflowing fields (and associated page content) is not feasible with PDFs.  

Likes

translate

Translate

Translate
Most Valuable Participant ,
Feb 14, 2020 Feb 14, 2020

Copy link to clipboard

Copied

To do that you would need to place the entire contents of the file in form fields, or you could use entire pages by converting them Template objects and then spawn/delete them as needed.

Likes

translate

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
Adobe Community Professional ,
Feb 17, 2020 Feb 17, 2020

Copy link to clipboard

Copied

Creating a Page Template for the client sections is the way to go. Reflowing fields (and associated page content) is not feasible with PDFs.  

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

Likes

translate

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