Extends
Members
Members
Optional actions to execute when an event is triggered.
Type:
- Inherited From:
- Default Value:
- null
Holds an immutable list of PSPDFKit.Annotations.WidgetAnnotation#ids.
Type:
- Immutable.List.<string>
- Inherited From:
This property defines whether the user has permission to edit the group of this form field. The value of this field depends on the set of collaboration permissions defined in the JWT token.
It is only available when collaboration permissions is enabled on Server-Backed deployments.
Type:
- boolean
- Inherited From:
If true, every character will have an input element on their own which is evenly distributed inside the bounding box of the widget annotation. When this is set, the form field must have a maxLength.
Type:
- boolean
- Default Value:
- false
Similar to the value
property. The default values are only used when a form needs to be reset.
Type:
- string
If true, the field does not scroll (horizontally for single-line fields, vertically for multiple-line fields) to accommodate more text than fits within its annotation’s rectangle. Once the field is full, no further text is accepted.
Type:
- boolean
- Default Value:
- false
If true, text entered in the field is not spell-checked.
Type:
- boolean
- Default Value:
- false
This property is used to define the permission scope for this form-field, it's corresponding widget-annotations and form field values. If you change the group
of a form field, the corresponding widget annotations and form field values will inherit it.
It is only available when collaboration permissions is enabled on Server-Backed deployments.
Type:
- string
- Inherited From:
A unique identifier to describe the form field record. When a form field is created in the UI, the viewer has to generate a unique ID.
When changes are saved to the underlying form field provider, we call PSPDFKit.Instance#ensureFormFieldSaved to make sure the form field has been persisted from the provider.
Type:
- string
- Inherited From:
This property defines whether this form field can be deleted or not. The value of this field depends on the set of collaboration permissions defined in the JWT token.
It is only available when collaboration permissions is enabled on Server-Backed deployments.
Type:
- boolean
- Inherited From:
This property defines whether this form-field can be edited or not. The value of this field depends on the set of collaboration permissions defined in the JWT token.
It is only available when collaboration permissions is enabled on Server-Backed deployments.
Type:
- boolean
- Inherited From:
This property defines whether this form-field can be filled or not. The value of this field depends on the set of collaboration permissions defined in the JWT token.
It is only available when collaboration permissions is enabled on Server-Backed deployments.
Type:
- boolean
- Inherited From:
Used to identify the form field in the UI or for accessibility.
Type:
- string
- Inherited From:
The maximum length of the field’s text, in characters. If none is set, the size is not limited.
Type:
- number
- Default Value:
- null
If true, the field can contain multiple lines of text. Otherwise, the field’s text is restricted to a single line.
Type:
- boolean
- Default Value:
- false
Unique name of the form field (often referred to as fully qualified name). This name is used to link PSPDFKit.Annotations.WidgetAnnotation and is also used as an identifier for form field values.
Type:
- string
- Inherited From:
Form fields with the noExport
flag won't appear in the serialized payload of a form
submission.
Type:
- boolean
- Inherited From:
- Default Value:
- false
If true, the field is intended for entering a secure password that should not be echoed visibly to the screen. Characters typed from the keyboard should instead be echoed in some unreadable form, such as asterisks or bullet characters.
This is currently only support for single line text inputs.
Type:
- boolean
- Default Value:
- false
The object ID of the form field object in the PDF.
Type:
- number
- Inherited From:
Read only form fields can not be filled out (similar to disabled HTML input elements).
Type:
- boolean
- Inherited From:
- Default Value:
- false
Required form fields must be filled out in order to submit the form.
PSPDFKit.FormFields.TextFormField, PSPDFKit.FormFields.ComboBoxFormField and
PSPDFKit.FormFields.ListBoxFormField with this flag set will be rendered with
the PSPDFKit-Annotation-Widget-Required
public CSS class and the HTML required
attribute set.
Type:
- boolean
- Inherited From:
- Default Value:
- false
The current value of the form field. In order to modify it, instance.setFormFieldValues() should be used.
Type:
- string