Making subforms visible

Avatar

Avatar

mdawn50

Avatar

mdawn50

mdawn50

07-11-2011

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

View Entire Topic

Avatar

Avatar

pguerett

Avatar

pguerett

pguerett

07-11-2011

Would need to see the form ...can you send it to me at LiveCYcle8@gmail.com

Paul