Fill PDF Form Fields Using Our JavaScript Viewer UI

Form fields can be manually filled directly using the UI. Just focus or press on a form field in order to type on it or modify its value.

Editing form field value

If the Form Designer component is present in the license, it’s possible to set ViewState#formDesignMode. When true, pressing on a form field will select it and enable moving and resizing it, but it will not be possible to change its value until PSPDFKit.ViewState#formDesignMode is set to false.

Form field selected in form design mode