<?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: Field Validation Error Prevents Submitting The Form - Custom Submit Button</title><link>https://www.infopathdev.com:443/forums/thread/104244.aspx</link><pubDate>Tue, 06 Oct 2015 15:15:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104244</guid><dc:creator>cz48b1</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104244.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104244</wfw:commentRss><description>Hi, Hilary

SOLVED!!!

Thank you so much.</description></item><item><title>Re: Field Validation Error Prevents Submitting The Form - Custom Submit Button</title><link>https://www.infopathdev.com:443/forums/thread/104235.aspx</link><pubDate>Mon, 05 Oct 2015 22:34:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104235</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104235.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104235</wfw:commentRss><description>Usually when we hit a validation error on submit, the form rules quit executing and the form stays open so we can fix our errors and try again. I see in your rules you have the &amp;quot;close&amp;quot; rule before the others - move that to the bottom and see if that solves the issue. I&amp;#39;m actually surprised IP is even trying to submit, since you have the close rule first. :)</description></item><item><title>Field Validation Error Prevents Submitting The Form - Custom Submit Button</title><link>https://www.infopathdev.com:443/forums/thread/104230.aspx</link><pubDate>Mon, 05 Oct 2015 13:53:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104230</guid><dc:creator>cz48b1</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104230.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104230</wfw:commentRss><description>Hi all,&lt;br /&gt; &amp;nbsp;
&lt;br /&gt; &amp;nbsp;

If I understand correctly, the best approach is to disable the Submit and Save options (Form Options | Web Browser in InfoPath)
in the toolbar and use your own Submit button.&lt;br /&gt; &amp;nbsp;
&lt;br /&gt; &amp;nbsp;
Problem is that, when the user clicks Submit and there’s a field validation error, a validation warning is shown, user clicks Ok button, the form is closed and all filled data is lost (user needs to start from scratch).&lt;br /&gt; &amp;nbsp;
&lt;br /&gt; &amp;nbsp;
In my case it’s not just a matter of if a required filed is empty or not (and maybe, enable/disable the Submit button accordingly).&lt;br /&gt; &amp;nbsp;
The field may be filled and still have a validation error (something like a “MVSN-NNN” mask where “N” is numeric).&lt;br /&gt; &amp;nbsp;
&lt;br /&gt; &amp;nbsp;
See Submit Click rules below (and image):&lt;br /&gt; &amp;nbsp;
-	Close this form: No Prompt&lt;br /&gt; &amp;nbsp;
-	Set a field’s value: txtSubmit = “1”&lt;br /&gt; &amp;nbsp;
-	Submit  using a data connection….&lt;br /&gt; &amp;nbsp;
&lt;br /&gt; &amp;nbsp;
I see the “Don’t run remaining rules if the condition of this rule is met” (see link below) but I cannot see any way of creating a new rule at the top that captures a field validation error.&lt;br /&gt; &amp;nbsp;
&lt;br /&gt; &amp;nbsp;
Any ideas???&lt;br /&gt; &amp;nbsp;
&lt;br /&gt; &amp;nbsp;
Thanks in advance!!!&lt;br /&gt; &amp;nbsp;
&lt;br /&gt; &amp;nbsp;
http://imgur.com/fdMmj8a&lt;br /&gt; &amp;nbsp;</description></item></channel></rss>