Skip to main content
Participant
October 14, 2017
Question

Hiding PDF form sections and then moving the rest of the form up

  • October 14, 2017
  • 2 replies
  • 622 views

This is my first post so any help would be greatly appreciated. My question involves 2 parts:

1. I have a PDF form (which was created in Adobe Acrobat Pro DC from a MS Word 2010 document) which has 2 radio buttons, each of which will hide a section of the form. I have managed to hide the form fields using "Actions"-"Run javascript" and code for each field which looks like this:

this.getField("Field Name").display = display.hidden;

However I do not know how to select and hide the text in that section (which is not a text form field) as well as any of the other objects like a table outline. Any help in this regard would really help.

2. Now assuming I can hide the section (from part 1) is it possible to get the next section to move up so that there is no white space between the sections?

Thanks in advance for the help

This topic has been closed for replies.

2 replies

Inspiring
December 15, 2017

This is usually done using LiveCycle not Acrobat.

Bernd Alheit
Community Expert
Community Expert
December 15, 2017

Not possible with Acrobat forms.