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

using password field

MartijnJ
Registered: Feb 27 2008
Posts: 12

Does anyone have any experience with using a password field?

I like to use a password field to show another page in a document. I tried several JS for hiding and showing fields, but they all failed to work.

I am open for suggestions

Martijn

My Product Information:
LiveCycle Designer, Windows
aerokhin
Registered: Jun 27 2008
Posts: 39
Hi,

Try a following JS to show hidden subform with fields:

if (PasswordField.rawValue=="password") HiddenSubform.presence="visible";
else HiddenSubform.presence="hidden";

You can use it as a click event handler of a button. Don't forget to change components names in JS, "password" to proper password value you like, and set options at File-Form Properties-Preview to Interactive form and Dynamic XML Form.

Hope that helps!

Regards, Andrey
MartijnJ
Registered: Feb 27 2008
Posts: 12
Hi Aerokhin,
I can't seem to get it to work. I have applied your JS to the password field, but still my second page is visible. Tried to wrap everything into a subform called "confirmation"

Do you have any suggestions?

Greetz,

Martijn