Quite an old discussion this but thought I'd share my findings.By
re-using the lock fields script provided by pguerret, I've been able to
reset data in particulare subforms as follows:Call to the script object
-
clearData.resetAllData(xfa.resolveNode("form1.subform1.subformIWantToReset"));Then
my script object looks like this:function resetAllData(myParentObject){
var allChildElements; var intNumElements; var currentElement; var j; var
temp; // get all the child nodes of the parent element allCh...