These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

hide one subform and make another one visible on click

oksana77
Registered: Apr 24 2009
Posts: 89

How to hide one subform and make another one visible when a check box is selected?

I have this code, but it doesn't work.

form1.Masters.Page1.subtop.CHKMRK_A[0]::click - (JavaScript, client)

if(this.rawValue == 1)
{

xfa.resolveNode("form1.report.repeat.page1.SubRightOfPage").presence = "hidden";
xfa.resolveNode("form1.report.repeat.page1.SubLeftOfPage").presence = "visible";
//xfa.form.remerge();
}

Any help will be appreciated.

My Product Information:
LiveCycle Designer, Windows
madhu_livecycle
Registered: Jun 23 2009
Posts: 13
Hi okasana77,

try writing the script in Change Event of Checkbox and not in Click Event.

Thanks,
Madhu.