> For the complete documentation index, see [llms.txt](https://docs.apryse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apryse.com/web/forms/form-builder/form-builder-webviewer-8.md).

# Build PDF forms using Javascript in WebViewer 8

Build PDF forms using Javascript with WebViewer's interactive form builder. Add, edit, and customize form fields easily with APIs and events. Activate form building mode with UIClick Forms. The Apryse

## WebViewer 8

Starting in WebViewer 8, you can build and edit forms fields with an interactive form builder that is part of the UI. This form builder mode allows users to add new form fields, and edit existing fields by changing field names, required flags, as well as their size and position in the document. Users are also able to delete form fields. The [FormFieldCreationManager](https://sdk.apryse.com/api/web/Core.FormFieldCreationManager.html) also offers several APIs and events that allow developers to run custom logic.

Click `Forms` in the header, which will activate form building mode.

![](https://3532544125-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX9YnTSKIHvV7m0A36LbO%2Fuploads%2Fgit-blob-37c91dc825694230902621c05164089ad2bc3511%2F6085cdc15fdef07c984addd94ba3595a336160ea-1069x806.png?alt=media)

### Editing Fields

While in this mode, all non-field annotations will be hidden. All existing form fields will be converted into annotations that will serve as placeholders for the actual fields. Any styles currently used by the form field will be carried on to its placeholder, with the exception of radio buttons or signature widgets which do not support styling. This means that if any of your form fields have a transparent border and fill, they will not be immediately visible while in form builder mode. In order to view all your form fields, you can open the notes panel to see all the fields present in the document.

![](https://3532544125-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX9YnTSKIHvV7m0A36LbO%2Fuploads%2Fgit-blob-f361c12f5192fa563888f9ca7c6abdd5db31181f%2F0cceb0ebf4fa16a2ea678928b7b28764b20a8693-1208x696.png?alt=media)

In order to view or change the field information for each field, click on the annotation place holder and open the form field edit popup. The popup options will change depending on the type of field being edited.

![](https://3532544125-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX9YnTSKIHvV7m0A36LbO%2Fuploads%2Fgit-blob-57167ee35f37d8fc3a99767c8d6e81f5ecee00ad%2Ff0c0d56ff142a54a0a3a92083bc872d9197f466e-600x405.gif?alt=media)

Click `Apply Fields` to finish editing and apply changes to the fields.

### Text Fields

Text fields can have a default value, as well as support for multi-line via field flags.

![](https://3532544125-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX9YnTSKIHvV7m0A36LbO%2Fuploads%2Fgit-blob-37cc882bccd43796e08c29aff4b3b28d1eacab2a%2F2305399fb2fa1fc6eaf85005575e8330a5be0b87-600x405.gif?alt=media)

### Signature Fields

Starting in WebViewer 8.9, signature fields can be created to accept signatures or initials. Simply choose the required option in the dropdown. Please note that the initials feature must be enabled in order for this option to be displayed. For a sample on how to do this refer to [this guide](/web/digital-signature/signature-tool.md#initials-as-signature).

Signature widgets that are flagged as requiring initials will apply initials created by the user in the signature modal during the signing process.

![](https://3532544125-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX9YnTSKIHvV7m0A36LbO%2Fuploads%2Fgit-blob-14e4efae0de93ef761bc20168d2bc270b268ff3c%2Ff0c8c747ff7b2cdaa8d0e4bfbb4b125a137d2ab2-600x531.gif?alt=media)

### Radio Fields

In order to logically group radio buttons together, ensure that they all share the same field name.

![](https://3532544125-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX9YnTSKIHvV7m0A36LbO%2Fuploads%2Fgit-blob-a1b6539d3aa95f24887417a6bc9c02b52295e6a3%2F12cf2da1f729f0058c29233fe166445664415719-561x378.png?alt=media)

### Check Box Field

Check boxes support two field flags: required and read only.

![](https://3532544125-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX9YnTSKIHvV7m0A36LbO%2Fuploads%2Fgit-blob-41f5e296a484d8927ac538e5a6852bf75b505c95%2F4bf8c8a6bd93e21d64732c1c98350cc18dffea7e-600x531.gif?alt=media)

### List and Combo Box Fields

For list and combo box fields you can add as many options as you wish, and re-order them as needed. List box fields also have support for multiselection if this flag is enabled,

![](https://3532544125-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX9YnTSKIHvV7m0A36LbO%2Fuploads%2Fgit-blob-acc2b779d805940ab5185e29951f23f2dfcb02c9%2Fe6f8b423ecf9791f19a76c43352927b0c04cfeea-600x531.gif?alt=media)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.apryse.com/web/forms/form-builder/form-builder-webviewer-8.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
