Skip to main content
Participating Frequently
August 17, 2020
Question

Using Dialog Box to add to PDF

  • August 17, 2020
  • 1 reply
  • 382 views

Hi All,

 

I've been attempting to use a dialog box to add two new cases within my PDF form on Adobe Acrobat Pro DC. I used Javascript customize the inputs and have tested it using the debugger. However, it will not let me access/use the data passed in the box or add it to the form itself.

 

Here's the simple dialog box:

Two cases: observations and references.

Click Okay

 

Now I want that data to automatically load onto the page. How can I implement a functional dialog box like that for my user?

 

Thanks for the help in advance. I'm new to this and I want to make the user experience as easy as I can. 

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
August 17, 2020

You did not really share any code, so it's hard to give you exact instructions, but basically you need to define variables before the dialog to hold this data, then use the dialog's commit function to apply the values entered into it (using the store method to access them) to those variables, which you can then use in the rest of your code.