Avatar

Level 5


seconding to earlier post,

Lets say dropwdown items are item1, item2, item3 etc

in the dropdown change event, write

if (xfa.event.newText == "item1")

{

subform1.presence = "visible";  //try to give the exact path for subform1 if it doesnot refer here like xfa.form.Page1.subform1 ..

subform2.presence = "hidden"; //optional to hider other subforms if you dont want to show them

}

if (xfa.event.newText == "item2")

{

subform2.presence = "visible";

subform1.presence = "hidden"; //optional to hider other subforms if you dont want to show them

}

hope this helps.

kc