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

Creating a dynamic form that would reveal a second "layer" of the form.

New Here ,
Aug 26, 2016 Aug 26, 2016

I'm looking to create a form that if an additional request is required it can be accessed and seen only if selected by button or some type of trigger. The second portion of the form would also require selecting answers or filling in fields. Can this be done? I need to keep it as one form/page as it will need to be printed on the receiving end after it is filled out. I can do the layer thing but I'm looking to make it easy for a NON user to easily fill out the form and send it off. Let me know what you think.

TOPICS
Acrobat SDK and JavaScript
410
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

correct answers 1 Correct answer

Community Expert , Aug 26, 2016 Aug 26, 2016

Yes, it can be done. A button can be set up to show a layer, as well as hidden fields.

Add a button, make the layer visible via the Layers panel and then go to the button's Properties, Actions tab and add a new Mouse Up trigger. Then select the "Set Layer Visibility" command. You can also use the "Show/hide a field command" to show the fields associated with that layer, under the same trigger.

Translate
Community Expert ,
Aug 26, 2016 Aug 26, 2016

Yes, it can be done. A button can be set up to show a layer, as well as hidden fields.

Add a button, make the layer visible via the Layers panel and then go to the button's Properties, Actions tab and add a new Mouse Up trigger. Then select the "Set Layer Visibility" command. You can also use the "Show/hide a field command" to show the fields associated with that layer, under the same trigger.

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 ,
Aug 26, 2016 Aug 26, 2016
LATEST

Thank you, I believe I tried that but only the first layer was able to be selected. I am clearly an amateur at this so perhaps I did something incorrectly. I will give it another try. Thank you for your speedy response. This is exactly what I needed.

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