Skip to content

Commit 8bfd3f7

Browse files
931490: Updated Requested code changes
1 parent 757ef2b commit 8bfd3f7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

How to/Retrieve Tooltip HyperLink in FormFields/src/app/app.component.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,12 @@ export class AppComponent implements OnInit {
6363
// Fetch the PDF viewer instance
6464
const pdfviewer = (<any>document.getElementById("pdfViewer")).ej2_instances[0];
6565

66-
// Check the loaded document name
67-
if (e.documentName === 'form-designer.pdf') {
6866
// Add a form field to the PDF
6967
pdfviewer.formDesignerModule.addFormField("Textbox", {
7068
name: "First Name",
7169
bounds: { X: 146, Y: 229, Width: 150, Height: 24 },
7270
tooltip: '<a href="loaded">Google</a>'
7371
} as TextFieldSettings);
74-
}
7572

7673
// Obtain the form field element
7774
const formField = document.getElementsByClassName("e-pv-formfield-input")[0];

0 commit comments

Comments
 (0)