Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
32

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

New Here ,
Jan 31, 2024 Jan 31, 2024

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.

TOPICS
Create PDFs , Edit and convert PDFs , General troubleshooting , How to , JavaScript , PDF , PDF forms
711
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 31, 2024 Jan 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 PDFScripting
Use the Acrobat JavaScript Reference early and often

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 01, 2024 Feb 01, 2024

Hi Thom.

 

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

Jose3032702503co_0-1706817736503.png

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 01, 2024 Feb 01, 2024
LATEST

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 PDFScripting
Use the Acrobat JavaScript Reference early and often

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines