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](/images/guides/web/forms/fill-form-fields/editing-form-field-value-18080282.png)
If the Form Creator 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](/images/guides/web/forms/fill-form-fields/form-field-selected-in-form-design-mode-897b4060.png)