Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to delete hidden form fields

Community Expert ,
Feb 28, 2018 Feb 28, 2018

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
989
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 28, 2018 Feb 28, 2018

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 28, 2018 Feb 28, 2018
LATEST

I’ll give it a try... Thanks!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines