Skip to main content
Participant
January 31, 2024
Question

I have a PDF form with dependent dropdown menus, and can't make it work as a web form

  • January 31, 2024
  • 1 reply
  • 704 views

I have a PDF form with dependable dropdown menus created using JavaScript. When I transform it to a web form, the dependency of the dropdown menus stops working. I need help to get this working.

This topic has been closed for replies.

1 reply

Thom Parker
Community Expert
Community Expert
January 31, 2024

Well, they don't seem very "dependable" do they 😉 

 

What exactly do you mean by "When I transform it to a web form"?  

Because there is no such thing as a PDF web form. PDF is a file format. It's the same no matter where or how it is used. 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Participant
February 1, 2024

Hi Thom.

 

What I mean by web form, is when I use this tool with a form I already have in PDF.

Once I add my file to this tool, the dependable dropdown menus stop working as they do in the PDF form.

The dependency of the PDF was created using JavaScript.

Any suggestions?

Thom Parker
Community Expert
Community Expert
February 2, 2024

Ahhh, I see. This tool is a variation on the Adobe Sign service. Or rather, it's one of a set of web based form tools recently created by Adobe.  It takes a PDF form and uses it as a template for creating a document that can be filled out through an on-line Adobe tool. The created "web form" is neither a PDF nor an HTML form.  Some of the simpler PDF form features translate into this special Adobe web form format, but more complex features do not.  Scripting is one of those things that does not translate.  If you want dependent dropdowns, you'll need to stick with PDF, or create your own custom HTML web form.

 

The advantage of these online form services is routing, data handling, and signatures. Quite powerful stuff really. But complex, scripted form features are not part of this, and are not likely to be included any time soon.  

 

 

 

  

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often