Hello,
I insert a Custom Button into infopath module and I enable this Button only if all fileds of infopath module are not empty. I tried to do this work programmatically working with sampledata.xml to check fields value
IXMLDOMDocument2 oSampleData = (IXMLDOMDocument2)thisXDocument.CreateDOM();oSampleData.async = false; ...