Skip to content

Commit 4b19b24

Browse files
1004880: Resolved CI failures
1 parent 3ce721f commit 4b19b24

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ 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 data by reading the viewer's `formFieldCollections`. For more information, see [`formFieldCollections`](https://ej2.syncfusion.com/angular/documentation/api/pdfviewer/formfieldsapi#formfieldcollections).
19+
Get all available form field data by reading the viewer's `formFieldCollections`. For more information, see [`formFieldCollections`](https://ej2.syncfusion.com/angular/documentation/api/pdfviewer/index-default#formfieldcollections).
2020

2121
```ts
2222
const formFields = this.pdfViewer.formFieldCollections;
2323
```
2424

2525
## Read Text Field Values
2626

27-
Find the text field by name and read its value property. For more information, see [`formFieldCollections`](https://ej2.syncfusion.com/angular/documentation/api/pdfviewer/formfieldsapi#formfieldcollections).
27+
Find the text field by name and read its value property. For more information, see [`formFieldCollections`](https://ej2.syncfusion.com/angular/documentation/api/pdfviewer/index-default#formfieldcollections).
2828

2929
```ts
3030
const formFields = this.pdfViewer.formFieldCollections;
@@ -33,7 +33,7 @@ const name = (formFields.find(field => field.type === 'Textbox' && field.name ==
3333

3434
## Read Checkbox / Radio Button Values
3535

36-
Check whether a checkbox or radio button is selected by reading its `isChecked` value. For more information, see [`formFieldCollections`](https://ej2.syncfusion.com/angular/documentation/api/pdfviewer/formfieldsapi#formfieldcollections).
36+
Check whether a checkbox or radio button is selected by reading its `isChecked` value. For more information, see [`formFieldCollections`](https://ej2.syncfusion.com/angular/documentation/api/pdfviewer/index-default#formfieldcollections).
3737

3838
```ts
3939
const formFields = this.pdfViewer.formFieldCollections;
@@ -43,7 +43,7 @@ const checkedField = (radioButtons.find(field => field.isChecked)).name;
4343

4444
## Read Dropdown values
4545

46-
Read the dropdown's selected option by accessing `value` property. For more information, see [`formFieldCollections`](https://ej2.syncfusion.com/angular/documentation/api/pdfviewer/formfieldsapi#formfieldcollections).
46+
Read the dropdown's selected option by accessing `value` property. For more information, see [`formFieldCollections`](https://ej2.syncfusion.com/angular/documentation/api/pdfviewer/index-default#formfieldcollections).
4747

4848
```ts
4949
const formFields = this.pdfViewer.formFieldCollections;
@@ -52,7 +52,7 @@ const state = (formFields.find(field => field.type === 'DropdownList' && field.n
5252

5353
## Read Signature Field Data
5454

55-
This reads the signature path data stored in a signature field so it can be later converted to an image. For more information, see [`formFieldCollections`](https://ej2.syncfusion.com/angular/documentation/api/pdfviewer/formfieldsapi#formfieldcollections).
55+
This reads the signature path data stored in a signature field so it can be later converted to an image. For more information, see [`formFieldCollections`](https://ej2.syncfusion.com/angular/documentation/api/pdfviewer/index-default#formfieldcollections).
5656

5757
```ts
5858
const formFields = this.pdfViewer.formFieldCollections;
@@ -61,7 +61,7 @@ const signData = (formFields.find(field => field.type === 'SignatureField' && fi
6161

6262
## Extract All Form Field Values
6363

64-
This iterates every field in the collection and logs each field's name and value, useful for exporting or validating all form data. For more information, see [`formFieldCollections`](https://ej2.syncfusion.com/angular/documentation/api/pdfviewer/formfieldsapi#formfieldcollections).
64+
This iterates every field in the collection and logs each field's name and value, useful for exporting or validating all form data. For more information, see [`formFieldCollections`](https://ej2.syncfusion.com/angular/documentation/api/pdfviewer/index-default#formfieldcollections).
6565

6666
```ts
6767
const formFields = this.pdfViewer.formFieldCollections;
@@ -77,7 +77,7 @@ formFields.forEach(field => {
7777

7878
## Extract Form Data After Document Loaded
7979

80-
Place your form-reading logic inside `documentLoad` event handler, so values are read after the PDF is loaded in the viewer. For more information, see [`formFieldCollections`](https://ej2.syncfusion.com/angular/documentation/api/pdfviewer/formfieldsapi#formfieldcollections) and [`documentLoad`](../events#documentload).
80+
Place your form-reading logic inside `documentLoad` event handler, so values are read after the PDF is loaded in the viewer. For more information, see [`formFieldCollections`](https://ej2.syncfusion.com/angular/documentation/api/pdfviewer/index-default#formfieldcollections) and [`documentLoad`](../events#documentload).
8181

8282
```ts
8383
// If you need to access form data right after the PDF loads
@@ -102,5 +102,5 @@ onDocumentLoad(): void {
102102

103103
## See also
104104

105-
- [`formFieldCollections`](https://ej2.syncfusion.com/angular/documentation/api/pdfviewer/formfieldsapi#formfieldcollections)
105+
- [`formFieldCollections`](https://ej2.syncfusion.com/angular/documentation/api/pdfviewer/index-default#formfieldcollections)
106106
- [`documentLoad`](../events#documentload)

0 commit comments

Comments
 (0)