<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Capture InfoPath Validation</title><link>https://www.infopathdev.com:443/forums/thread/31276.aspx</link><pubDate>Thu, 07 Aug 2008 21:03:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31276</guid><dc:creator>altja</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31276.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=31276</wfw:commentRss><description>&lt;p&gt;this.Errors.Count is what I needed.&lt;/p&gt;</description></item><item><title>Capture InfoPath Validation</title><link>https://www.infopathdev.com:443/forums/thread/31259.aspx</link><pubDate>Thu, 07 Aug 2008 15:41:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31259</guid><dc:creator>altja</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31259.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=31259</wfw:commentRss><description>&lt;p&gt;I have written my own custom validation that does a number of things.&lt;/p&gt;
&lt;p&gt;What I would like to know is how to capture any InfoPath validation errors inside of my C# code.&lt;/p&gt;
&lt;p&gt;A specific example is a textbox that is set to an integer and someone enters a decimal.&amp;nbsp;&amp;nbsp;Infopath creates an error and I want to know what that is.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>