Answered
OK - I've looked everywhere I can on this one, and have now admitted defeat over what will prove to be a simple answer.
I've created a form.
I have a 'drop-down-list' box with various actions eg:
New Install
Broken Seal
EPROM replacement.
Now depending on the selected menu item an appropriate number of subforms will be displayed for the User to complete. To take the first option for an example:
A New Install will require Subforms 1,4,5,6,7,8 (ie not subforms 2 & 3)
And so on....
The fields are dynamic.
Thanks
Al
TopmostSubform.Page1.myDropDown::change - (JavaScript, client)
if (myDropDown.xfa.event.change == "MyValue") {
someSubForm.presence = "visible";
someOtherSubForm.presence = "visible";
}
else {
someSubForm.presence = "invisible";// or "hidden"
someOtherSubForm.presence = "invisible";// or "hidden"
}