I have written my own custom validation that does a number of things.
What I would like to know is how to capture any InfoPath validation errors inside of my C# code.
A specific example is a textbox that is set to an integer and someone enters a decimal. Infopath creates an error and I want to know what that is.