<?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: disable submit on close?</title><link>https://www.infopathdev.com:443/forums/thread/51511.aspx</link><pubDate>Mon, 08 Feb 2010 15:25:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51511</guid><dc:creator>The_Holy_One</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51511.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=51511</wfw:commentRss><description>Sorry, found the Solution my self, for all interessted People, see: http://social.msdn.microsoft.com/Forums/en-US/sharepointinfopath/thread/3d243da8-25c1-42d0-b111-479498919f71?prof=required ^^</description></item><item><title>Re: disable submit on close?</title><link>https://www.infopathdev.com:443/forums/thread/51507.aspx</link><pubDate>Mon, 08 Feb 2010 14:23:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51507</guid><dc:creator>The_Holy_One</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51507.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=51507</wfw:commentRss><description>Hello Mr. Fox,

with both first sentences you&amp;#39;ve right. If you deactive in the &amp;quot;Tools&amp;quot; -&amp;gt; &amp;quot;Submit Options&amp;quot; -&amp;gt; &amp;quot;Allow users to submit this form&amp;quot; InfoPath wont ask anymore if a User try to close the Form with entered Data. BUT

The bad news ... the CodeBehind Function &amp;quot;Submit()&amp;quot; will be deactivated as well. If you try call it, it will throw an Exception. So i am unable to Submit at all.

I still on searching a Solution for this Problem and would be happy if someone would share his Solution with all :)

My best Regards

THO</description></item><item><title>Re: disable submit on close?</title><link>https://www.infopathdev.com:443/forums/thread/27129.aspx</link><pubDate>Mon, 10 Mar 2008 21:33:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27129</guid><dc:creator>bharvey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27129.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27129</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;thanks - I&amp;#39;ll try again tomorrow (I&amp;#39;m at home now).&amp;nbsp; I tried once and it didn&amp;#39;t seem to work using a button with rules/action but I can certainly try again.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks again Clay!&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: disable submit on close?</title><link>https://www.infopathdev.com:443/forums/thread/27128.aspx</link><pubDate>Mon, 10 Mar 2008 20:51:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27128</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27128.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27128</wfw:commentRss><description>&lt;p&gt;I believe you do want to uncheck allow user to submit this form and then just have the rules and action on your button that call the submits you need.&lt;/p&gt;
&lt;p&gt;It has been a while and&amp;nbsp;I have not verified this but I believe that is how you can remove InfoPath&amp;#39;s &amp;quot;are you sure&amp;quot; assumption if the data has changed. You should be able to check it quickly yourself.&lt;/p&gt;
&lt;p&gt;The submit actions still work without the default &amp;quot;Submit&amp;quot; configuration.&lt;/p&gt;</description></item><item><title>Re: disable submit on close?</title><link>https://www.infopathdev.com:443/forums/thread/27124.aspx</link><pubDate>Mon, 10 Mar 2008 19:07:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27124</guid><dc:creator>bharvey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27124.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27124</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have the save/save as &amp;quot;unchecked&amp;quot;.&amp;nbsp; I have the &amp;quot;show submit menu item and the submit toolbar button&amp;quot;&amp;nbsp;&amp;nbsp; &amp;quot;unchecked&amp;quot; as well.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thus, they can&amp;#39;t use the save nor the &amp;quot;submit&amp;quot; toolbar.&amp;nbsp;&amp;nbsp; But, if they open a form, make a change to it, the hit the X in the upper right corner (the close form), it then asks&amp;nbsp; &amp;quot;Do you want to submit formXX&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;I don&amp;#39;t want them to be able to submit unless they have used the submit button on the form itself which has validation attached to it. &lt;/p&gt;&lt;p&gt;&amp;nbsp;Can this be stopped?&lt;/p&gt;&lt;p&gt;&amp;nbsp;I don&amp;#39;t see anything in the advanced to stop that.&amp;nbsp; I can uncheck &amp;quot;allow users to submit this form&amp;quot;&amp;nbsp; but then they cant create use the submit button either.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: disable submit on close?</title><link>https://www.infopathdev.com:443/forums/thread/27121.aspx</link><pubDate>Mon, 10 Mar 2008 17:13:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27121</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27121.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27121</wfw:commentRss><description>&lt;p&gt;This is in the Advanced submit options.&amp;nbsp; Or in Form Options could be the Save and Save As is checked on depending on which message they get.&lt;/p&gt;</description></item><item><title>disable submit on close?</title><link>https://www.infopathdev.com:443/forums/thread/27115.aspx</link><pubDate>Mon, 10 Mar 2008 15:15:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27115</guid><dc:creator>bharvey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27115.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27115</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I&amp;#39;ve setup my form to show a submit button only when specific conditions apply.&amp;nbsp; I&amp;#39;ve disabled the submit button from the toolbar.&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;However, when users close the form using the X on the form, Infopath asks them if they want to submit the form anyway.&amp;nbsp; Can this be stopped?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks!&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>