I am trying to make a script for group of 5 radio buttons with text fields for each of the button to enter the users data (such as multiline text). Checked radio button (with filled text) must be printed on a final document when user submits the form, others should disappear.
Below the message and script I mentioned before, but that one doesnt work with my form. Your script works.
Thank you very much for your help,
Original message "Unenable TextField" and script:
Brad McIntyre - 09:16am Jun 30, 2006 Pacific
I have a check box and a Text Field. I want the text field to be inactive until the user checks the check box. So when the user checks the check box, the text box becomes active and the user can then enter info into it.
A. How do I make the text box inactive?
B. How do I make the text box active when the check box is checked? (I know I'll have to do script, and I think I can do that part, but I don't know the command)
3 messages. Displaying 1 through 3.
First Previous Next Last
Show All Messages
Steve Woodruff - 1:10am Jul 3, 06 PST (#1 of 3)
Edited: 03-Jul-2006 at 01:10am
if(this.rawValue == 1)
xfa.resolveNode("form1.#subform.textfield1").access = "open";
xfa.resolveNode("form1.#subform.textfield1").access = "readOnly";
You may want to adjust "form1.#subform" to meet your form structure.
To do this, while in the editing modus of the textfield, hold CTRL while leftclicking the textfield.