<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: InfoPath 2010 - Form Submit Rules - Stop Closing Form After Submit If Rules Fail</title><link>https://www.infopathdev.com:443/forums/thread/77252.aspx</link><pubDate>Fri, 06 Apr 2012 20:36:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77252</guid><dc:creator>marsdei</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77252.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=77252</wfw:commentRss><description>&lt;p&gt;Ok thanks very much for the tip&amp;nbsp;I will give that a try. I was just of the understanding that the standard submit button would cater for this.&lt;/p&gt;&lt;p&gt;Hopefully this works but the only concern I have is for the forms that require this function they would have the submit button in a difference place - assuming I cant overlay my new submit button over the existing one in the toolbar??&lt;/p&gt;&lt;p&gt;Hope that doesnt sound too pedantic!&lt;/p&gt;</description></item><item><title>Re: InfoPath 2010 - Form Submit Rules - Stop Closing Form After Submit If Rules Fail</title><link>https://www.infopathdev.com:443/forums/thread/77248.aspx</link><pubDate>Fri, 06 Apr 2012 20:27:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77248</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77248.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=77248</wfw:commentRss><description>Rather than let InfoPath allow submitting a form with no attachments to receive an error,&amp;nbsp;you can be a little more proactive and don&amp;#39;t even allow the user to submit the form until an attachment is added.&amp;nbsp; Create a submit button on the form.&amp;nbsp; Add rules to the submit button to submit data and close the form after.&amp;nbsp; Now you can add formatting rules to the button to either disable or hide if the attachment count is 0.&amp;nbsp; This way the user won&amp;#39;t even be able to submit the form if there are no attachments.</description></item><item><title>InfoPath 2010 - Form Submit Rules - Stop Closing Form After Submit If Rules Fail</title><link>https://www.infopathdev.com:443/forums/thread/77240.aspx</link><pubDate>Fri, 06 Apr 2012 19:10:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77240</guid><dc:creator>marsdei</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77240.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=77240</wfw:commentRss><description>&lt;p&gt;I am new to Infopath, so this question may seem trivial.&lt;/p&gt;&lt;p&gt;I am using InfoPath to design my SharePoint 2010 forms.&lt;/p&gt;&lt;p&gt;I have an attachment field that I would like to make mandatory and the suggested to do this is to add a Form Submit rule and check for the count of attachments added, if this is equal to zero then do not close the form and message prompt the user.&lt;/p&gt;&lt;p&gt;&amp;nbsp;When I go into submit options and select Perform custom action using rules, InfoPath does as I say and checks if there are any attachments and if there are none it displays a message to screen. However because at the end of the Submit Options it says After Submit Close the form, the form is always closing whether the rules have been met or not. &lt;/p&gt;&lt;p&gt;I need a way to close a form if the submit was successful, but keep it open if it failed. &lt;/p&gt;&lt;p&gt;I cant see a way to do this yet no one else on I can find is complaining of the same issue, and I dont want to spend anymore hours on the subject!!&lt;/p&gt;&lt;p&gt;Many Thanks&lt;/p&gt;</description></item></channel></rss>