Skip to content

Commit ca620f6

Browse files
1013392: Resolved spelling errors
1 parent 0e6ce18 commit ca620f6

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This guide shows common patterns with concise code snippets you can copy into yo
1616

1717
## Access the Form Field Collection
1818

19-
Get all available form field ata by reading viewer's `formFieldCollections`. For more information, see [`formFieldCollections`](./form-fields-api#formfieldcollections).
19+
Get all available form field data by reading viewer's `formFieldCollections`. For more information, see [`formFieldCollections`](./form-fields-api#formfieldcollections).
2020

2121
```ts
2222
const formFields = viewer.formFieldCollections;
@@ -91,7 +91,7 @@ viewer.documentLoaded = () => {
9191
## Use Cases
9292

9393
- Validate and pre-fill form fields in your application before user submission.
94-
- Submit filled form data from the viewer to a backend service for processing or storage.
94+
- Submit filled form data from the viewer to a back end service for processing or storage.
9595
- Synchronize form field values with external UI components to keep application state in sync.
9696
- Export form data for reporting, archival, or integration with other systems.
9797

Document-Processing/PDF/PDF-Viewer/react/forms/submit-form-data.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ domainurl: ##DomainURL##
1212

1313
## Overview
1414

15-
The React PDF Viewer allows submitting filled form data like text fields, checkboxes, radio buttons and dropdown values to a backend server for processing. This guide shows how to extract form data from the viewer and **post** it as `JSON` to a server endpoint.
15+
The React PDF Viewer allows submitting filled form data like text fields, checkboxes, radio buttons and dropdown values to a back end server for processing. This guide shows how to extract form data from the viewer and **post** it as `JSON` to a server endpoint.
1616

1717
## Prerequisites
1818

@@ -31,9 +31,9 @@ The React PDF Viewer allows submitting filled form data like text fields, checkb
3131

3232
- Use `viewer.exportFormFieldsAsObject()` to obtain the filled values as JSON.
3333

34-
3. POST the exported JSON to your backend
34+
3. POST the exported JSON to your back end
3535

36-
- Use `fetch` or `axios` to send the JSON. The server must accept `application/json` and handle CORS if cross-domain.
36+
- Use `fetch` to send the JSON. The server must accept `application/json` and handle CORS if cross-domain.
3737

3838
4. Trigger submission from a UI action
3939

@@ -104,15 +104,15 @@ export default function SubmitFormExample() {
104104
## Troubleshooting
105105

106106
- **No form values returned**: Ensure the PDF has interactive fields and the viewer has finished loading before calling `exportFormFieldsAsObject()`.
107-
- **CORS errors**: Enable CORS on the server or serve both frontend and backend from the same origin during testing.
107+
- **CORS errors**: Enable CORS on the server or serve both frontend and back end from the same origin during testing.
108108
- **Server rejects payload**: Confirm the server expects `application/json` and validates shape of the object.
109109
- **WASM or resource errors**: Ensure `resourceUrl` points to the correct Syncfusion PDF Viewer library files.
110110

111111
## Use cases
112112

113-
- Enable remote verification and approval workflows by sending submitted form data to a backend service for review and sign-off.
113+
- Enable remote verification and approval workflows by sending submitted form data to a back end service for review and sign-off.
114114
- Store submitted form responses in a database to persist user inputs for auditing, reporting, or later retrieval.
115-
- Trigger workflow automation and downstream processing by sending form data to business systems or serverless functions.
115+
- Trigger workflow automation and downstream processing by sending form data to business systems or server less functions.
116116
- Merge submitted values into a final flattened PDF on the server to produce a non-editable document that combines the form data with the original PDF.
117117

118118
## Related topics

0 commit comments

Comments
 (0)