Skip to main content
benjaminh39412375
Inspiring
May 25, 2018
Answered

How to create a custom form panel

  • May 25, 2018
  • 1 reply
  • 891 views

Hello everyone,

I'm currently working for a company as an Intern and they asked me to create a custom form panel (basicaly a window that pops up when you call a javascript script) that should be filled with fields for the user to fill. Once those fields are filled i'm supposed to create and XML file from those fields.

The problem is not about the XML file it's about creating the panel. Does anyone knows anything about it or is there any topic talking about it ? (I was not able to find any)

Thanks for your time and have a nice day !

This topic has been closed for replies.
Correct answer Karl Heinz Kremer

Take a look at the app.execDialog() method in the JavaScript API document. It has sample code for a few different dialogs. PDFscripting has - as part of their paid for subscription service - a dialog editor: https://www.pdfscripting.com/members/AcroDialogs.cfm

1 reply

Bernd Alheit
Community Expert
Community Expert
May 25, 2018

With Adobe Acrobat you can create a PDF form.

benjaminh39412375
Inspiring
May 25, 2018

This is not exactly what I want. What I want Is something the user can fill up without modifying the PDF. A custom window filled with fields and dropdown menus so they can select exactly what this PDF is about then everything filled in the panel is saved as XML.

Bernd Alheit
Community Expert
Community Expert
May 25, 2018

You can create a dialog. Details are in the Acrobat JavaScript Reference.