Avatar

Level 4

on your drop down in the Change event/JavaScript add:

if (xfa.event.newText == ' value 1' )

{

subform1.presence = "visible";

subform2.presence = "hidden";

subform3.presence = "hidden";

}

if (xfa.event.newText==' value 2' )

{

subform2.presence = "visible";

subform1.presence = "hidden";

subform3.presence = "hidden";

}

Create the subforms, one at a time in the same location, once it is completed, set the subform presence as hidden, and start on the next form in the same location and so on.