Pdf | |
A form that lays itself out (a dynamic XFA form) has its fields only in its XFA template. Filled as XFA, its fields are in Fields as the classic field types (a text, numeric, date or password field as PdfFormFieldTextBox, a check box as PdfFormFieldCheckBox, a drop-down list as PdfFormFieldComboBox, a list as PdfFormFieldListBox, a group of radio buttons as PdfFormFieldRadioButtonList, any other field as PdfFormField), with the pages and rectangles of the form as laid out. Setting a value runs the form's own scripts, as in Acrobat. The form is saved as the same dynamic form, or with Flatten as the pages it lays out.
A hybrid form has AcroForm fields beside its XFA. They are what Fields holds in every mode; with Xfa the XFA is kept and given the same values on save, so a viewer that shows the XFA shows them too.