How you grey on an option button if a text field is blank in Adobe Acrobat Pro XI?

How you grey on an option button if a text field is blank in Adobe Acrobat Pro XI?

So, what I'm doing:

(     )   | TEXT FIELD.

(     )   | TEXT FIELD.

(     )   |                  |

(     )   | TEXT FIELD.

I have a radio button :)

and a text field. TEXT FIELD.

The third text field is empty, and I would like to than radio button gray (the user cannot click on it) because the text field is empty. Is it possible to get? I guess I'll have to use javascript, but what would the code and must it be entered in the javascript for the text field editor or the radio button?

Thanks in advance guys

Enter this code in the custom text box validation script:

this.getField("RadioButtonName").readonly = (event.value == "");

Tags: Acrobat

Similar Questions

Maybe you are looking for