form user add fields
Copy link to clipboard
Copied
I am trying to create a form where the number of certain fields is unknown. I need for the form user to be able to add certain fields as needed (findings and responses. A group of 2-3 form fields). I want to be able to put in an "add finding" button, and it adds a group of text/dropdown box fields. I need to have the ability to add as many of these groups as needed. But I hate to have blank pages that we don't need. These will eventually have to be printed. Hope this makes sense. Thanks
Copy link to clipboard
Copied
PDF forms are not dynamic in this sense (except for a specific subset of them). If you want to be able to add an unknown number of fields you need to use a Template page with the full set of fields already added to it and set as hidden. Then you need to use a script to show the next set of fields when the user clicks a button, and when it reaches the end of the page, spawn a copy from the Template page and proceed adding fields to that new page, etc.
This is not a simple task, but it is doable.

