does not work well with me !
I have 2 radio-buttons when click 1st one i need sub form 1 = visible & sub form 2 = hidden , and the reversed action with 2nd radio-button
when I checked 1st radio-button the subform1 is appear properly then when also checked the 2nd radio-button the subform2 will appear and still subform1 showed, i need to hide the 1st subform ????
please help me !
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";
this.parent.subform1.presence = "hidden";
this.parent.subform2.presence = "visible";