Form fields
The following form field types are allowed in a RichTextEdit
document: FormFieldCheckBox, FormFieldComboBox, FormFieldText, and
FormFieldDate.
FormFieldCheckBox is a checkbox field in the document;
FormFieldComboBox is a combo box; FormFieldDate is a date field; and
FormFieldText is a text input field. The field shows as plain text by
default. When clicked, it will turn to the field that allows user
interaction. Specifically, the checkbox field can be selected or
unselected; the combo box displays a dropdown with all the available
value options; the date field provides a date picker, and the text
input field allows the end users to enter text in it.
Note
When executing the SaveDocument function to save the content
of a RichTextEdit control to a PDF file, the form fields can be
still editable in the PDF file.
A number of functions are provided for working with the form
fields.
-
The following functions are available for form fields
regardless of the form field type:FormFieldGetEmptyWidth;
FormFieldSetEmptyWidth;
FormFieldGetText; FormFieldSetText; FormFieldGetCurrent; FormFieldSetCurrent;
FormFieldGetDeletable;
FormFieldSetDeletable; FormFieldDelete; FormFieldGetEnd;
FormFieldGetStart;
FormFieldNext -
The following functions are available for the form field
type FormFieldCheckBox:FormCheckBoxInsert; FormCheckBoxGetChecked;
FormCheckBoxSetChecked
-
The following functions are available for the form field
type FormFieldComboBox:FormComboBoxInsert; FormComboBoxGetItems; FormComboBoxSetItems
-
The following functions are available for the form field
type FormFieldText: -
The following functions are available for the form field
type FormFieldDate:FormDateFieldInsert; FormDateFieldGetDate; FormDateFieldSetDate; FormDateFieldGetFormat;
FormDateFieldSetFormat