These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Hidden subform that's viewable to only certain people

rlrussell
Registered: Nov 3 2010
Posts: 3

Hi there-
 
I'm new to the community and relatively new to Acrobat Forms/Live Cycle.
 
Wondering if someone may have the answer to this issue:
 
We have a job description PDF form that can be filled out by various people within our organization. When they are done, they submit by email. We've decided we'd like to hide a subform from those who fill it out, but show it to the person who receives it (and possibly others).
 
PROCESS:
- Individual opens PDF form and fills in all fields
- Individual submits by email to person in HR
- HR person receives the PDF and opens it, somehow revealing the hidden subform
 
What is the correct way to do this? Hidden with password? Or is this only accomplished if the receiver has Acrobat Pro/Live Cycle?
 
Thank you in advance for your help.

My Product Information:
LiveCycle Designer, Windows
SLDC
Registered: Oct 25 2010
Posts: 70
If you're using LiveCycle Designer, you can hide the subform by default and use a password field. You can mark the field "For HR Use Only" so people won't get confused, and then just use

YourSubformName.presence = "visible";

in the Change event.

You can include a button in that subform to re-hide the subform if you like, but remember that all the data entered in those previously-visible fields is still there.

Hiding and displaying elements requires saving the form as a dynamic PDF in Designer, and so viewers will need at least Reader 8.1, I believe. Not sure on the exact version.

If you're concerned about users who have LiveCycle Designer seeing the password in your script, add password security to the file, as per Jenn94's answer to me here.
rlrussell
Registered: Nov 3 2010
Posts: 3
That is exactly what I'm looking for. How do I apply password to the subform?
SLDC
Registered: Oct 25 2010
Posts: 70
In the password field's Exit event, do

if(this.rawValue == "yourpassword") {
YourSubformName.presence = "visible";
}

Does that work?