<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Different validation error messages for Custom Rules button / Submit button... why?</title><link>https://www.infopathdev.com:443/forums/thread/78389.aspx</link><pubDate>Wed, 09 May 2012 09:25:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78389</guid><dc:creator>MathijsH</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78389.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=78389</wfw:commentRss><description>&lt;p&gt;Hi Jo-Anne,&lt;/p&gt;
&lt;p&gt;Thank you for your reply. As a matter of fact, I already have conditional formatting on them (in my own form). Depending on the status&amp;nbsp;of the form (hidden field), they see either one button or the other. However, I just have to deal with the possibility of user errors, and I would like them to see an error they understand. I still hope I have influence on this.&lt;/p&gt;
&lt;p&gt;In the mean time I have tried InfoPath 2010, but it has the same result.&lt;/p&gt;
&lt;p&gt;Is there any other forum or place I can ask this question? I&amp;#39;m quite new to InfoPath so I don&amp;#39;t know the good online resources yet...&lt;/p&gt;
&lt;p&gt;Mathijs&lt;/p&gt;
&lt;p&gt;EDIT: I misunderstood your suggestion, but now I do understand :-). Technically your suggestion should indeed work, but the problem is the amount of validations required. For the Save button it is 4 validations, but the Submit button would need 20+ validations (times 2, for 2 different languages). It is just too much&lt;/p&gt;</description></item><item><title>Re: Different validation error messages for Custom Rules button / Submit button... why?</title><link>https://www.infopathdev.com:443/forums/thread/78386.aspx</link><pubDate>Wed, 09 May 2012 04:21:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78386</guid><dc:creator>Jo-Anne Alfafara</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78386.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=78386</wfw:commentRss><description>&lt;p&gt;Hi Mathijs,&lt;/p&gt;&lt;p&gt;I don&amp;#39;t have any idea why the error is different for the buttons. In your case, what I would do is disable the Save and Submit buttons by using formatting rules and enable them only when all the required fields are filled in. That way you can prevent those errors. &lt;/p&gt;&lt;p&gt;Jo-Anne&lt;/p&gt;</description></item><item><title>Different validation error messages for Custom Rules button / Submit button... why?</title><link>https://www.infopathdev.com:443/forums/thread/78268.aspx</link><pubDate>Thu, 03 May 2012 11:19:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78268</guid><dc:creator>MathijsH</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78268.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=78268</wfw:commentRss><description>&lt;p&gt;Goodday!&lt;/p&gt;
&lt;p&gt;I have a form where I need to have two different submit buttons (names Save and Submit, for later reference). For one I use&amp;nbsp;a button with type &amp;quot;Submit&amp;quot;, the other is a normal button with custom rules. When I deliberately have a validation error, I get a different error message for the buttons. See screenshots below. &lt;/p&gt;
&lt;p&gt;Error after pressing the Save button:&lt;br /&gt;&lt;img style="WIDTH:655px;HEIGHT:252px;" title="Error after Save button" alt="Error after Save button" src="http://i48.tinypic.com/2i8exvo.png" width="655" height="252" /&gt;&lt;/p&gt;
&lt;p&gt;Error after pressing the submit button:&lt;br /&gt;&lt;img style="WIDTH:800px;HEIGHT:115px;" title="Error after Submit" alt="Error after Submit" src="http://i46.tinypic.com/6gio8z.png" width="800" height="115" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Attached I have a very simple xsn file, showing the minimal requirements to show this error.&amp;nbsp;For&amp;nbsp;my own form, I&amp;nbsp;am using InfoPath 2007, with a web-based form, no code.&lt;/p&gt;
&lt;p&gt;Why is there a difference in error message? And how can I make both errors the same?&lt;/p&gt;
&lt;p&gt;I hope someone can provide some information and help me get a consistant error message for users. Please let me know if you need more information.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Mathijs&lt;/p&gt;</description></item></channel></rss>