<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Customize standard error messages</title><link>https://www.infopathdev.com:443/forums/thread/27554.aspx</link><pubDate>Sat, 29 Mar 2008 00:00:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27554</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27554.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=27554</wfw:commentRss><description>&lt;p&gt;Great! Glad to have helped out.&lt;/p&gt;</description></item><item><title>Re: Customize standard error messages</title><link>https://www.infopathdev.com:443/forums/thread/27544.aspx</link><pubDate>Fri, 28 Mar 2008 18:29:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27544</guid><dc:creator>Alphamax</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27544.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=27544</wfw:commentRss><description>&lt;p&gt;That did it&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: Customize standard error messages</title><link>https://www.infopathdev.com:443/forums/thread/27509.aspx</link><pubDate>Thu, 27 Mar 2008 22:54:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27509</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27509.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=27509</wfw:commentRss><description>&lt;p&gt;You probably don&amp;#39;t want &amp;quot;objError.Node.xml&amp;quot;... you are probably looking for &amp;quot;objError.Node.nodeName&amp;quot; or &amp;quot;objError.Node.baseName&amp;quot;.&lt;/p&gt;</description></item><item><title>Re: Customize standard error messages</title><link>https://www.infopathdev.com:443/forums/thread/27457.aspx</link><pubDate>Wed, 26 Mar 2008 19:04:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27457</guid><dc:creator>Alphamax</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27457.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=27457</wfw:commentRss><description>&lt;p&gt;I Guys,&lt;/p&gt;
&lt;p&gt;I have a similar problem.&amp;nbsp; I am trying to display all error validation messages onSubmit. The code I am using does kinda work, however, its giving me the namespace of the item instead of a field name or custom name.&lt;/p&gt;
&lt;p&gt;for example instead of displaying:&lt;br /&gt;&lt;br /&gt;&amp;quot;StatusDate cannot be blank&amp;quot;&lt;br /&gt;&lt;br /&gt;its reads&lt;/p&gt;
&lt;p&gt;&amp;quot;&amp;lt;my:StatusDate xmlns:my&amp;quot;http://schemas.microsoft.com/......&amp;quot;&amp;gt;&amp;lt;/my:StatusDate&amp;gt; Cannot be blank&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;code&amp;nbsp;I am using:&lt;/strong&gt;&amp;nbsp;&lt;br /&gt;for (i=0; i &amp;lt; XDocument.Errors.Count; i++)&lt;br /&gt;{&lt;br /&gt;objError = XDocument.Errors.Item(i);&lt;br /&gt;&amp;nbsp;&amp;nbsp; XDocument.UI.Alert(&amp;quot;Error message: &amp;quot; + objError.Node.xml + &amp;quot; &amp;quot; + XDocument.Errors.Item(i).ShortErrorMessage);&lt;br /&gt;}&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Customize standard error messages</title><link>https://www.infopathdev.com:443/forums/thread/21561.aspx</link><pubDate>Mon, 09 Jul 2007 18:46:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21561</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21561.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=21561</wfw:commentRss><description>The only way you can do this is to use code to call the data connection, then trap the error in a try catch block and pop up your own Alert message instead. Thanks.</description></item><item><title>Customize standard error messages</title><link>https://www.infopathdev.com:443/forums/thread/21547.aspx</link><pubDate>Mon, 09 Jul 2007 12:41:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21547</guid><dc:creator>dlgross</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21547.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=21547</wfw:commentRss><description>&lt;p&gt;I have an IP 2003 form with secondary data connections to a SQL Server 2005 database that populates my lookup values for dropdown controls. Sometimes people try to use the form that do not have access to the SQL Server db so they get the standard default error message. How can I replace that message with my own message with instructions for requesting access to the db?&lt;/p&gt;&lt;p&gt;TIA&lt;br /&gt;Dean&lt;/p&gt;</description></item></channel></rss>