Hiding multiple fields on a form if they are empty.
I have created a PDF form that has many user fillable fields and also has spawned template pages for additional information. I am looking for a way for the user of the form to hide any empty form fields and drop down fields that the did not need.
I have found scrip to identify empty fields if they are marked as required and i have found examples of JS to hide select individual fields only by their name controlled by a checkbox. Listing the fields by name wont work because i do not know what fields will be empty and if i did there are maybe 100 different field names.
I believe there must be a script to first identify empty fields on a select page and, if empty, to hide the fields / dropdowns. I am thinking this would be controlled with a mouse up JS button on the page.
100% disclosure, Beyond Novice here! Learning but probably over my head, yet. so far i have learned / managed to do quite alot with this form through searching this and other forums. But would prefer if someone could provide me the complete script to do so since i am not understanding how to combine seperate operations.
Thank you,
