Skip to content

Commit 0e6ce18

Browse files
1013392: Resolved CI issues and added API reference links
1 parent fdb91c6 commit 0e6ce18

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

Document-Processing/PDF/PDF-Viewer/react/forms/import-export-form-fields/export-form-fields.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ documentation: ug
1111

1212
This guide shows concise, actionable steps to export PDF form field data for storage or integration. It covers:
1313

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).
1616

1717
## Steps
1818

@@ -39,31 +39,31 @@ const viewerRef: RefObject<PdfViewerComponent> = useRef(null);
3939

4040
### 3. Export as FDF
4141

42-
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.
4343

4444
{% highlight ts %}
4545
viewerRef.current?.exportFormFields('FormData', FormFieldDataFormat.Fdf);
4646
{% endhighlight %}
4747

4848
### 4. Export as XFDF
4949

50-
Use `FormFieldDataFormat.Xfdf` to export XFDF.
50+
Use [`FormFieldDataFormat.Xfdf`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/formfielddataformat) to export XFDF.
5151

5252
{% highlight ts %}
5353
viewerRef.current?.exportFormFields('FormData', FormFieldDataFormat.Xfdf);
5454
{% endhighlight %}
5555

5656
### 5. Export as JSON
5757

58-
Use `FormFieldDataFormat.Json` to export form data as a JSON file.
58+
Use [`FormFieldDataFormat.Json`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/formfielddataformat) to export form data as a JSON file.
5959

6060
{% highlight ts %}
6161
viewerRef.current?.exportFormFields('FormData', FormFieldDataFormat.Json);
6262
{% endhighlight %}
6363

6464
### 6. Export as a JavaScript object
6565

66-
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.
6767

6868
{% highlight ts %}
6969
const data = await viewerRef.current?.exportFormFieldsAsObject();
@@ -131,10 +131,10 @@ export default function App() {
131131

132132
## Troubleshooting
133133

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.
136136
- 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.
138138

139139
## See also
140140

Document-Processing/PDF/PDF-Viewer/react/forms/manage-form-fields/create-form-fields.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ root.render(<App />);
492492

493493
## Add fields dynamically with setFormFieldMode
494494

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.
496496

497497
### Edit Form Fields in React PDF Viewer
498498
You can edit form fields using the UI or API.

Document-Processing/PDF/PDF-Viewer/react/forms/read-form-field-values.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
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
44
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.
55
platform: document-processing
66
control: PDF Viewer

0 commit comments

Comments
 (0)