This is only supported with our Windows viewer – Safeguard Viewer v3.
We support the standard Adobe Form submit for sending the values the user has entered in the form (not the whole PDF file) in XML format to the URL specified in the form for further processing.
Only one form per PDF file can be submitted (multiple forms with a single PDF file are not supported).
NOTE: An example form and PHP script is attached to the bottom of this KB article.
The following functionality is supported:
- typing in a textbox
- typing in a multi-line textbox
- selecting a checkbox and radio button
- selecting items in a combo box
- selecting items in a list box
- pushing buttons (with PDF actions like navigate to URL/reset form)
- exporting form values to an xml file
- importing form values from an xml file
- form calculations – sum, product, average, min and max (the basic pre-defined ones)
- basic number format with currency and validation (force field value to be in a specified range)
- special form filelds for user license (llv) information
- submit form to URL (all fields values will be submitted to a URL as xml)
Form calculations
We only support basic forms functionality (custom user JavaScript is NOT supported) to prevent our Viewer being exposed to AcroForm vulnerabilties.
Special form fields containing user and document information
You can add special read-only fields that are auto-completed by the Viewer which contain user and document information. This information can be helpful in identifying the user and document against Safeguard Administration system records.
These are:
- LLVEMAIL – user’s email address (the email address used when they registered their license file)
- LLVNAME – user’s name
- LLVID – user’s ID (their customer account ID)
- LLVDOCID – document ID
Form Field Encryption
Creating Forms with Adobe Acrobat XI Pro 9 (v11.0.20)
Adobe Acrobat XI Pro 9 (v11.0.20) has a bug in its form fields creation. If you copy/paste a field in order to duplicate it, changes to the newly pasted field name will not be kept (the name of the copied field will always be kept when saving the PDF), thus always having two fields with the same name. This may break calculations or cause fields to act weirdly or duplicating values as you type since all copied fields will have the same internal PDF name. As a workaround don’t use copy/paste for fields in Adobe Acrobat XI Pro 9 (v11.0.20), use another PDF editor or update Adobe Acrobat XI Pro to the latest version.
