Change Events (Show/Hide Subforms)

Avatar

Avatar

Mancini21

Avatar

Mancini21

Mancini21

16-09-2009

Hi guys i need some help, i have a some subForms that i want to manipulate with a dropdown list, and i've tried to do this with this code in the exit event,

if (this.rawValue ==1) {

xfa.resolveNode("form1.theForm.subForm1").presence= "invisible";

xfa.resolveNode("form1.theForm.subForm2").presence= "visible";
}

else if(this.rawValue ==2) {

xfa.resolveNode("form1.theForm.subForm3").presence= "visible";

xfa.resolveNode("form1.theForm.subForm4").presence= "invisible";

}

This is not working. The subforms are not working. I think that here if(this.rawValue ==1), the number, is the position of the list that i inserted in the drop down list object. Am i correct?

If someone can help i would apreciate.

I am also attaching the file.(I want to do in the dropdown list the same behavior of the checkboxes.)

Thanks.

Regards

Mancini.

View Entire Topic

Avatar

Avatar

xrum

Avatar

xrum

xrum

17-09-2009

1. Is your JavaScript debugger turned on?

2. Is the form saved as dynamic?

Thanks!

-Tanya