Hi...
I have created a RadioButtonList with two radio buttons, namely, VISIBLE and HIDDEN. Clicking on VISIBLE must show/display the text box on the document whereas, clicking on HIDDEN must hide the textbox.
For this to happen, I have written the following javascript under form1.#subform[0].RadioButtonList[0]::click event
var generavPE=xfa.resolveNode("RadioButtonList.RadioButton1");
if(generavPE.formattedValue==0)
{
TextField1.presence="hidden";
}
else
{
TextField1.presence="visible";
}
But, this has no effect on the textbox control. Can anyone please give me a solution to overcome this.
Thanks,
Khader.