Copy link to clipboard
Copied
I am working on an inventory list that current Has 8 lines(down) 7 fields (Across). I would like to add a function that will allow the user to add a 9th line or as many lines as they would need To complete their inventory list. Your guidance is much appreciated.
Copy link to clipboard
Copied
Acrobat forms generally don't allow for that kind of dynamics. You can show/hide fields that you created in advance, but that won't "re-flow" the rest of the file, and/or you can spawn entirely new pages from a Template object with more fields on them, but that's about it.
Copy link to clipboard
Copied
Ok I understand.
The second option. “ spawning an entirely new pages from a template object with more fields on it. Can you explain how that works?
Copy link to clipboard
Copied
A Lesson in Templates for Adobe Acrobat by Dave Waright. With the newer versions of Adobe Reader one can spawn templates but one does not have full control over the templates. If you have any scripts within the form fields, then you will have to program the calculations and actions to adjust for the dynamically named fields. For ease of script writing, I usually create the form form, add the scripts with code that dynamically adjust the field names for the renamed fields, convert the form to a template, spawn a new page, hide the template page, and rename all the fields on the spawned page to be prefixed with "P0." instead of "P1.".
Copy link to clipboard
Copied
I want to give the user 5 additional documents that can be spawned in the event they need to add more to the inventory list.
Can the action of spawning a document be done by click a button?
If so I plan on adding this button to each spawned document, so if" in the event they need to add more- they can spawn another inventory list, (up to five times if necessary).
In the event they need less than the five documents, is there a way to add a function to merge the original invoice, and the spawn documents together and send via email? Would there need to be a separate button for this to be performed?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now