Persits Software, Inc. Knowledge Base Articles

HOWTO: Determine form field names

Problem Description

When using AspPDF to fill in a PDF form, it is necessary to know the form's exact field names so that they can be passed to the Doc.Form.FindField method. This article describes a simple method to extract the full list of field names from any given PDF form file.


To obtain the list of field names on an existing PDF form, upload the PDF form file to our server using the link below and it will be automatically scanned for form fields. The list of found field names will be displayed immediately.

The source code for this application is available so that you can run it locally on your own server, if necessary.