Please excuse me if I am posting my question in the wrong group.
I'm running LiveCycle Designer ES ver: 8.2.
I've created a form that contains two different sets of radio buttons.
if radio button 1 = "1" and radio button 4 = "1" then this textbox is readOnly, and greyed out.
My script is as follows:
if (foodStuff.rawValue == "1")
this.access = "readOnly";
this.fillColor="216, 216, 216";
this.border.edge.presence = "hidden";
This code is not working? Is it because I've placed it in the text box? What about the "Show" option. I've tried to place the code in "click", "validate", etc. with no results. (Note: I'm not sure of how to use this section either)
Your insight is appreciated.
I solve the issue.
The code now appears like so:
if (foodrestriction.resolveNode("foodStuff").rawValue == "1")