0
How to delete hidden form fields
Community Expert
,
/t5/acrobat-discussions/how-to-delete-hidden-form-fields/td-p/9714249
Feb 28, 2018
Feb 28, 2018
Copy link to clipboard
Copied
Is it possible to delete all Hidden fields in a PDF forms using Javascript? I don’t want to use the Remove Hidden Information command since I still want the others fields to be live.
Thanks!
TOPICS
PDF forms
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/acrobat-discussions/how-to-delete-hidden-form-fields/m-p/9714250#M92253
Feb 28, 2018
Feb 28, 2018
Copy link to clipboard
Copied
You can use the doc.removeField JavaScript method. You script could contain a loop that checks each field, and if it's hidden, deletes it. If you'd like help with the script, post again.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Jean-Claude Tremblay
AUTHOR
Community Expert
,
LATEST
/t5/acrobat-discussions/how-to-delete-hidden-form-fields/m-p/9714251#M92254
Feb 28, 2018
Feb 28, 2018
Copy link to clipboard
Copied
I’ll give it a try... Thanks!
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

