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.