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

5 sets of radiobuttons and 1 textfield

sugbo
Registered: Oct 16 2009
Posts: 16
Answered

I wonder and hope if somebody can help me with this question.
I have 5 sets of radiobuttons (yes, no) and one txtfield in which one can specify if in one of the sets a "yes" in chosen. When you open the form the txtfield is protected (initialize). I've tried this script as a change event in the radiobuttons: if (this.rawValue == 2) {Page1.textfield1.access= protected";
Page1.textfield1.rawValue=""}
else {Page1.textfield1.access="";Page1.textfield1.rawValue = "";}
The problem is that if the last set is a no (or the last two sets, three,or four) the textfield is protected. Can anybody help me to adjust my script or has another script in which the textfield stays accessable no matter where the "no's" are, if there is at least one "yes"?
Thanks.

My Product Information:
LiveCycle Designer, Windows
try67
Expert
Registered: Oct 30 2008
Posts: 2398
You should post this question in the LiveCycle forum.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

sugbo
Registered: Oct 16 2009
Posts: 16
Will do, thanks