Yes, ofcourse you need to hide the first subform. I tried it and it's working fine..if(this.rawValue == 1) (in click event of radio button){this.parent.subform1.presence = "visible";this.parent.subform2.presence = "hidden";}else{this.parent.subform1.presence = "hidden";this.parent.subform2.presence ...