I've gotten subforms to be hidden and visible before, but I'm really having a problem with this one. And it seems so easy, just two radio buttons. Here's the JavaScript on the click event of the radio buttons:
switch
(this.rawValue)
{
case "1":
page2.addlAppFlowed.addlApprovals.presence = "hidden";
page2.purFlowed.purchasing.presence = "visible";
break;
case "2":
page2.addlAppFlowed.addlApprovals.presence = "visible";
page2.purFlowed.purchasing.presence = "hidden";
break;
default:
page2.addlAppFlowed.addlApprovals.presence = "hidden";
page2.purFlowed.purchasing.presence = "hidden"
}
I also tried the if/else statements and couldn't get that to work either.
Thanks for your help,
MDawn