Avatar

Level 10

Hi,

After the reset script you can add a line for each dropdown that controls the presence of a subform.

For example if DropDown1 has script in its exit event that controls the presence of a subform, then in your reset button you could have the following:

// General reset

xfa.host.resetData();

// hide subform

page1.DropDown1.execEvent("event");

Alternatively, you can just set the presence of the subform to invisible/hidden directly from the reset button.

Hope that helps,

Niall