From 9d6afd59c2d986adee35762b937be4636f9b6174 Mon Sep 17 00:00:00 2001 From: Srihariharan Date: Mon, 18 Mar 2024 11:02:37 +0530 Subject: [PATCH 1/2] 876129: Updated the code snippet in actions section. --- File-Formats/PDF/Working-with-action.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/File-Formats/PDF/Working-with-action.md b/File-Formats/PDF/Working-with-action.md index b3201d49b..b9fae785b 100644 --- a/File-Formats/PDF/Working-with-action.md +++ b/File-Formats/PDF/Working-with-action.md @@ -919,7 +919,7 @@ submitButton.Text = "Apply"; submitButton.BackColor = new PdfColor(181, 191, 203); //Create a new PdfJavaScriptAction -PdfJavaScriptAction scriptAction = new PdfJavaScriptAction("app.alert(\"You are looking at Form field action of PD +PdfJavaScriptAction scriptAction = new PdfJavaScriptAction("app.alert(\"You are looking at Form field action of PDF \")"); //Set the scriptAction to submitButton submitButton.Actions.MouseDown = scriptAction; From 6a0cfb1ef0132f6bca402548bffd0101cc75db52 Mon Sep 17 00:00:00 2001 From: Srihariharan Date: Mon, 18 Mar 2024 11:18:26 +0530 Subject: [PATCH 2/2] 876129: Updated the code snippet in actions section. --- File-Formats/PDF/Working-with-action.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/File-Formats/PDF/Working-with-action.md b/File-Formats/PDF/Working-with-action.md index b9fae785b..d1f651b75 100644 --- a/File-Formats/PDF/Working-with-action.md +++ b/File-Formats/PDF/Working-with-action.md @@ -984,7 +984,7 @@ submitButton.Text = "Apply" submitButton.BackColor = New PdfColor(181, 191, 203) 'Create a new PdfJavaScriptAction -Dim scriptAction As New PdfJavaScriptAction("app.alert(""You are looking at Form field action of PDF "")") +Dim scriptAction As New PdfJavaScriptAction("app.alert(\"You are looking at Form field action of PDF \")") 'Set the scriptAction to submitButton submitButton.Actions.MouseDown = scriptAction