Skip to content

docs(PdfViewer): add form filling docs #3098

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions components/pdfviewer/form-filling.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: Form Filling
page_title: PDFViewer - Form Filling
meta_title: Form Filling | PDFViewer for Blazor
position: 17
description: "Enable users to fill and submit PDF forms in the Blazor PDFViewer."
tags: telerik,blazor,pdfviewer,form filling,forms
slug: pdfviewer-form-filling
---

# Form Filling

The PDFViewer enables users to fill interactive forms directly in PDF documents. You can display and edit form fields such as text boxes, checkboxes, radio buttons, and dropdowns.

## Supported Form Fields

The PDFViewer supports the following form field types:

* `TextBox`
* `CheckBox`
* `RadioButton`
* `DropdownList`
* `ListBox`
* `Button`

>caption Edit form fields and download the updated PDF file

<demo metaUrl="client/pdfviewer/form-filling/" height="420"></demo>

## See Also

* [PDFViewer Overview](slug:pdfviewer-overview)
* [PDFViewer Events](slug:pdfviewer-events)
6 changes: 6 additions & 0 deletions components/pdfviewer/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ The [PdfViewer toolbar can render built-in and custom tools](slug:pdfviewer-tool

The PdfViewer provides a built-in option for creating and editing annotations. Explore the [available annotation types and how to work with them](slug:pdfviewer-annotations).

## Form Filling

The PdfViewer supports interactive form filling in PDF documents. You can display and edit form fields such as text boxes, checkboxes, radio buttons, and dropdowns. For more details and examples, see the [Form Filling documentation](slug:pdfviewer-form-filling).

## Large File Support

In Blazor **Server** apps, the PDF Viewer uses the **SignalR WebSocket** to:
Expand All @@ -81,6 +85,7 @@ The table below lists the PDF Viewer parameters. Also check the [PDF Viewer API

| Parameter | Type and Default&nbsp;Value | Description |
| --- | --- | --- |
| `AnnotationMode` | `PdfViewerAnnotationMode` <br /> (`Disable`) | Specifies how the PDFViewer handles [form fields](slug:pdfviewer-form-filling) in the loaded document. |
| `Class` | `string` | An additional CSS class for the `<div class="k-pdf-viewer">` element. Use it to [customize the component styles and override the theme](slug:themes-override). |
| `Data` | `byte[]` | The source of the currently displayed PDF file. |
| `EnableLoaderContainer` | `bool` <br /> (`true`) | Determines if the PDF Viewer will show a loading animation during opening, downloading or zooming a PDF file. |
Expand All @@ -100,6 +105,7 @@ The PdfViewer exposes methods for programmatic operation. To use them, define a
| --- | --- |
| `Print` | Prints the loaded PDF document as an alternative to the [built-in Print button in the PDF Viewer toolbar](slug:pdfviewer-toolbar#built-in-tools). |
| `Rebind` | Refreshes the PDF Viewer and ensures it is displaying the latest file `Data`. [`Rebind` is necessary when the Blazor framework cannot re-render components automatically](slug:common-features-data-binding-overview#refresh-data). |
| `GetFileAsync` | Asynchronously retrieves the current PDF file data as a byte array, including any annotations or form filling changes. Returns a `Task<byte[]>`. Returns `null` if no document is loaded. |

>caption PDF Viewer reference and method usage

Expand Down