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
pddesigner
Registered: Jul 9 2006
Posts: 858
Take a look at this alternative.

http://www.box.net/shared/static/o6n6snn5jf.pdf

This link will expire on November 5 2009

My favorite quote - "Success is the ability to go from one failure to another with no loss of enthusiasm.

sugbo
Registered: Oct 16 2009
Posts: 16
Thanks very much pddesigner, for putting me on the right track, it works!!