AcroForms are the original Forms technology added to the PDF file format to provide interactive form elements such at radio buttons, text fields, combo lists, etc in PDF files.
The data for an AcroForm is stored inside standard COS objects in a PDF. You will find most of the AcroForms data linked to the name ‘AcroForm’ Object inside a PDF file. This will then have a ‘Fields’ tag which will then list lots of PDF references which are all AcroForms. Some files will only have one or two, others contain hundreds.
The key value is th ‘FT’ entry which defines the type of Form object. What other values are present will depend on this value. Here are the possible values.
Tx = is a text field.
Ch = is a choice field.
Btn = is a Button field.
Sig = is a Signature field.
Now we know the type of field, but there are multiple fields within most types. To find out which exact field you have you also need the value for tag name ‘Ff’, this is a byte sequence where each byte represents a different flag.
These are :-
Tx = Text (defaults to a single line text field, the flags are options)
byte 13 = multiline
byte 14 = password
Ch = choice
byte 18 = combo
no flag = list field
Btn = button
byte 16 = radio
byte 17 = push button
neither flag = checkbox button
Do you need to solve any of these problems?
|Use PDF Forms in the Web Browser|
|Integrate PDF Forms into Web Apps|
|Convert PDF forms to HTML5|