> 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/salesforce/forms.md).

# Forms

- [JavaScript PDF form filling library](https://docs.apryse.com/salesforce/forms/forms.md): Enhance your PDF forms with WebViewer's JavaScript PDF library. Explore features like dynamic data entry, form field rendering, and form flattening. Get started now! Salesforce WebViewer adds accurate
- [Create checkbox field and checkbox widget annotation using JavaScript](https://docs.apryse.com/salesforce/forms/forms/create-checkbox-field.md): Learn how to create a new checkbox field with required edit flags and a checkbox widget annotation in PDF forms. Explore full sample code for adding form fields, signatures, text fields, and checkboxe
- [Create signature field and signature widget annotation using JavaScript](https://docs.apryse.com/salesforce/forms/forms/create-signature-field.md): Learn how to create a new signature field with a required flag and a signature widget annotation in WebViewer 8.9. Enable initials feature for the Signature Widget. Check out our guide for a step-by-s
- [Create list box field and list widget annotation using JavaScript](https://docs.apryse.com/salesforce/forms/forms/create-listbox-field.md): Learn how to create fillable PDF forms with interactive form fields like signatures, text fields, and checkboxes using this sample code. Add list box fields and list widget annotations effortlessly. A
- [Create radio field and radio widget annotation using JavaScript](https://docs.apryse.com/salesforce/forms/forms/create-radio-field.md): Learn how to create a new radio field with radio flag and two radio widget annotations. Get full sample code for adding form fields to a PDF, including signatures, text fields, and checkboxes. Salesfo
- [Create text field and text widget annotation using JavaScript](https://docs.apryse.com/salesforce/forms/forms/create-text-field.md): Learn how to create a new text field with multi-line required flags and a text widget annotation. Explore how to add form fields to a PDF, including signatures, text fields, and checkboxes. Full sampl
- [Create combo box field and choice widget annotation using JavaScript](https://docs.apryse.com/salesforce/forms/forms/create-combobox-field.md): Learn how to create combo box fields and choice widget annotations in PDF forms with this detailed guide. Add interactive form fields like signatures, text fields, and checkboxes. Full sample code pro
- [Importing & exporting data from PDF forms](https://docs.apryse.com/salesforce/forms/import-export.md): Learn how to import and export form data and annotations using XFDF data. Discover the XFDF file format and how to manage field values and widget appearances efficiently. Click to explore more! Salesf
- [Create new form fields and widget annotations using Javascript](https://docs.apryse.com/salesforce/forms/create-fields.md): Learn about AcroForms, a collection of interactive form fields like text boxes, checkboxes, and radio buttons. Explore how to create fillable PDF forms programmatically with sample code and examples.
- [Remove PDF form fields](https://docs.apryse.com/salesforce/forms/remove-fields.md): Learn how to remove form fields in a PDF document by deleting widget annotations. Find out how to remove all fields or delete a single field by name. Salesforce WebViewer adds accurate, reliable docum
- [Modifying PDF form fields](https://docs.apryse.com/salesforce/forms/modify-fields.md): Learn how to set fields to readonly, trigger events, iterate over fields, and access fields by name in your document with this informative guide. Salesforce WebViewer adds accurate, reliable document
- [Filling PDF form fields](https://docs.apryse.com/salesforce/forms/fill-fields.md): Learn how to access and fill form fields by their field id, iterate over all fields, and listen for field changes with this comprehensive guide. Salesforce WebViewer adds accurate, reliable document p
- [Styling PDF form fields](https://docs.apryse.com/salesforce/forms/form-field-styling.md): Learn how to customize widget annotations with the getCustomStyles and getContainerCustomStyles functions. Extend createInnerElement for unique styling and event handling. Optimize your PDF viewer now
- [Flatten PDF forms using Javascript](https://docs.apryse.com/salesforce/forms/flatten-forms.md): Learn about annotation or form flattening in PDF documents. Understand how to flatten annotations and forms, and the options available for flattening annotations when getting, downloading, or viewing
- [Date picker](https://docs.apryse.com/salesforce/forms/date-picker-field.md): Enhance user experience with WebViewer's interactive date picker widget for easy date input on form fields. Learn how to fill date fields programmatically and customize datepicker internationalization
- [PDF Embedded JavaScript](https://docs.apryse.com/salesforce/forms/embedded-js.md): Learn how PDF documents can contain embedded JavaScript (AcroJS) for interactive form fields. Discover how to enable, disable, and customize embedded JavaScript in WebViewer for enhanced user experien
- [APIs for PDF form filling](https://docs.apryse.com/salesforce/forms/apis.md): Discover how to efficiently manage fields and annotations in PDF documents using FieldManager, AnnotationManager, and other classes from the PDFNet API. Optimize your PDF workflow with PDFNet.FDFDoc a


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.apryse.com/salesforce/forms.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
