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.
try writing the script in Change Event of Checkbox and not in Click Event.
Thanks,
Madhu.