hi...
i have created radiobuttonlist 2 radio buttons, namely, visible , hidden. clicking on visible must show/display text box on document whereas, clicking on hidden must hide textbox.
for happen, have written 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, has no effect on textbox control. can please give me solution overcome this.
thanks,
khader.
i have created radiobuttonlist 2 radio buttons, namely, visible , hidden. clicking on visible must show/display text box on document whereas, clicking on hidden must hide textbox.
for happen, have written 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, has no effect on textbox control. can please give me solution overcome this.
thanks,
khader.
hey khader,
first thing, make sure file saved dynamic pdf.
if still doesn't fix it, few things...
the current object (where click event is) can accessed using either $ or
set language javascript , like:
if (this.rawvalue == 1)
xfa.resolvenode("textfield1").presence="hidden";
else
xfa.resolvenode("textfield1").presence="visible";
hope helps.
cheers,
:damien
first thing, make sure file saved dynamic pdf.
if still doesn't fix it, few things...
the current object (where click event is) can accessed using either $ or
set language javascript , like:
if (this.rawvalue == 1)
xfa.resolvenode("textfield1").presence="hidden";
else
xfa.resolvenode("textfield1").presence="visible";
hope helps.
cheers,
:damien
More discussions in LiveCycle pre-ES (6.x and 7.x) discussions
adobe
Comments
Post a Comment