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

Forms

depitlorer
Registered: Apr 6 2007
Posts: 2

Hello - I'm currently using LiveCycle Designer to create some new forms and I was looking for an option to have certain fields become read only (vs. required)based on the selection of a radio button. For example, a 'yes' or 'no' radio button and if yes is selected, they would have 3 required fields below that, if no, then those fields would still be present on the forms, but the user wouldn't be able to populate them.

My Product Information:
Acrobat Pro 8, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
The field's "access" property is what you want to control. For example: for a field named "DecimalField1" you can use the MouseUp event on two Radio buttons to make the field editable or readOnly.

**MouseUp for "ReadOnly" radio button

DecimalField1.access = "readOnly";

**MouseUp for "Edit" radio button

DecimalField1.access = "open";

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

kbedward
Registered: Nov 9 2007
Posts: 29
Is there a similar option for AcroForms? I have several check boxes that when selected, I would like to make combo boxes required.