You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Document-Processing/PDF/PDF-Viewer/react/forms/import-export-form-fields/export-form-fields.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,8 @@ documentation: ug
11
11
12
12
This guide shows concise, actionable steps to export PDF form field data for storage or integration. It covers:
13
13
14
-
- Exporting as [FDF](#3-export-as-fdf), [XFDF](#4-export-as-xfdf), and [JSON](#5-export-as-json) using `exportFormFields()`
15
-
- Exporting as a [JavaScript object](#6-export-as-a-javascript-object) using `exportFormFieldsAsObject()`
14
+
- Exporting as [FDF](#3-export-as-fdf), [XFDF](#4-export-as-xfdf), and [JSON](#5-export-as-json) using [`exportFormFields()`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer#exportformfields).
15
+
- Exporting as a [JavaScript object](#6-export-as-a-javascript-object) using [`exportFormFieldsAsObject()`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer#exportformfieldsasobject).
Use `exportFormFields(destination?, FormFieldDataFormat.Fdf)` to download an FDF file.
42
+
Use [`exportFormFields(destination?, FormFieldDataFormat.Fdf)`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer#exportformfields) to download an FDF file.
Use `exportFormFieldsAsObject(format)` to get data for API calls or storing in a database.
66
+
Use [`exportFormFieldsAsObject(format)`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer#exportformfieldsasobject) to get data for API calls or storing in a database.
67
67
68
68
{% highlight ts %}
69
69
const data = await viewerRef.current?.exportFormFieldsAsObject();
@@ -131,10 +131,10 @@ export default function App() {
131
131
132
132
## Troubleshooting
133
133
134
-
- Ensure `FormFields` and `FormDesigner` services are injected when using form APIs.
135
-
- Confirm `resourceUrl` points to the matching `ej2-pdfviewer-lib` version.
134
+
- Ensure `FormFields` and [`FormDesigner`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/formdesigner) services are injected when using form APIs.
135
+
- Confirm [`resourceUrl`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer#resourceurl) points to the matching `ej2-pdfviewer-lib` version.
136
136
- If exports fail in restrictive browsers, check popup/download settings and CORS for hosted endpoints.
137
-
- For server-side persistence, use `exportFormFieldsAsObject()` and send the result to your API.
137
+
- For server-side persistence, use [`exportFormFieldsAsObject()`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer#exportformfieldsasobject) and send the result to your API.
Copy file name to clipboardExpand all lines: Document-Processing/PDF/PDF-Viewer/react/forms/manage-form-fields/create-form-fields.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -492,7 +492,7 @@ root.render(<App />);
492
492
493
493
## Add fields dynamically with setFormFieldMode
494
494
495
-
Use `setFormFieldMode()` to switch the designer into a specific field mode and let users add fields on the fly.
495
+
Use [`setFormFieldMode()`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/formdesigner#setformfieldmode) to switch the designer into a specific field mode and let users add fields on the fly.
Copy file name to clipboardExpand all lines: Document-Processing/PDF/PDF-Viewer/react/forms/read-form-field-values.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
layout: post
3
-
title: Read and Extract PDF Form Field Values in React PDF Viewer | Syncfusion
3
+
title: Read and Extract PDF Form Field Values in React | Syncfusion
4
4
description: Learn how to read and extract values from PDF form fields in the EJ2 React PDF Viewer, including text, checkboxes, radio buttons, dropdowns, and signatures.
0 commit comments