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

Acrobat dropdowns menus on layers

New Here ,
Sep 27, 2016 Sep 27, 2016

Is it possible to put dropdown boxes on a layer by themselves? I've tried to import a layer with Dropdowns on it but it disables the effects when I do.

TOPICS
Acrobat SDK and JavaScript
308
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
LEGEND ,
Sep 27, 2016 Sep 27, 2016

Are you talking about Acrobat or about Captivate?

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 ,
Sep 28, 2016 Sep 28, 2016

Acrobat

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
LEGEND ,
Sep 28, 2016 Sep 28, 2016

OK, will move your question to the Acrobat forum.

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
LEGEND ,
Sep 28, 2016 Sep 28, 2016

Although it's technically possible to include a form field in a layer (OCG, technically), there is no user interface in Acrobat for this (apart from Preflight) and even of you do the behavior might not be what you expect. If you want to show/hide things, use form fields.

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 ,
Sep 28, 2016 Sep 28, 2016

How would I do this in a Form Field?

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
LEGEND ,
Sep 28, 2016 Sep 28, 2016
LATEST

Instead of using layers, you can use read-only buttons to show/hide content. You can set a button's icon to the same content as you'd use for a layer. If you use hierarchical field naming (e.g., group1.background, group1.dropdown1, group1.text2), it's easy to control a group of fields with JavaScript. For example:

// Turn off all the group1 fields

getField("group1").display = display.hidden;

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