Making a form field visible and automatically moves other form fields

Explorer ,
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

Adobe Community Professional
Correct answer by Thom Parker | Adobe Community Professional

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

TOPICS
Acrobat SDK and JavaScript, How to, PDF forms

Views

69

Likes

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

Making a form field visible and automatically moves other form fields

Explorer ,
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

Adobe Community Professional
Correct answer by Thom Parker | Adobe Community Professional

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

TOPICS
Acrobat SDK and JavaScript, How to, PDF forms

Views

70

Likes

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
Feb 14, 2020 0
Most Valuable Participant ,
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

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 14, 2020 0
Adobe Community Professional ,
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.  

Likes

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
Reply
Loading...
Feb 17, 2020 0