Hi everyone, I recently had to recreate a form that was created in InfoPath 2007 in InfoPath 2010. The old form used a lot of custom code and was done by a third party years ago. So I recreated the form, at first without code, using rules repeating sections etc., then I had to add code after the user wanted a lot of default text loaded into multiple sections and tables. I used the same data structure / XML structure as the previous form, so that all the previously filled out forms could be moved over. I had been copy and pasting the heading of the new XML files generated by the template to the old XML files. It worked perfectly before I added the code. After I added the could I get an error, and even after removing the code I still get the error, "Schema validation found non-datatype errors." I don't know what is causing this, the only difference between before and after is the code, which still gives an error even after I remove it.
Any help is greatly appreciated!! really stuck on this one