My form system will allow the user to submit several times, starting over with a clean form each time and not closing infopath.
I'm using code to submit the form and am currently able to clear the form. The problem is that all the fields are grayed out after I use 'removeAll' .
The code to clean up all the values is:
IXMLDOMSelection reset = (IXMLDOMSelection)thisXDocument.DOM.selectSingleNode("//my:new").selectNodes("*");
reset.removeAll();
How can I reinitialize these values after I clear them out?
Thanks,
-C