Hi,
This should work in v7. Put it in the click event of the reset button.
var nButton = app.alert({
cMsg: "Warning: You are about to reset the form. \n\nDo you want to continue?",
cTitle: "Your title here",
nIcon: 1, nType: 2
});
if (nButton == 4)
{
xfa.host.resetData();
}
The script puts an app.alert out before the reset. If the user click Yes then the form is reset. If No then the form is not reset.
Good luck,
Niall