<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: ALERT to save the infopath form while closing the infopath form</title><link>https://www.infopathdev.com:443/forums/thread/73253.aspx</link><pubDate>Mon, 26 Dec 2011 05:33:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73253</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73253.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=73253</wfw:commentRss><description>&lt;p&gt;I don&amp;#39;t believe there&amp;#39;s a built-in way to invoke the save prompt via rules.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;One thing you can do is show a hidden section in the form&amp;nbsp;that prompts the user to save&amp;nbsp;when the Cancel button is clicked, providing a Submit+Close button for Yes, and a Close button for No.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;To conditionally only use that section when the document has changes in it, you can either use qRules&amp;#39; &lt;strong&gt;IsDirty&lt;/strong&gt; command, or this approach:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://alecpojidaev.wordpress.com/2009/07/06/how-to-check-if-your-form-is-dirty/"&gt;http://alecpojidaev.wordpress.com/2009/07/06/how-to-check-if-your-form-is-dirty/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Though I would suggest putting the InitialState field in a secondary data source instead of the main data source if you go with the latter approach.&lt;/p&gt;</description></item><item><title>ALERT to save the infopath form while closing the infopath form</title><link>https://www.infopathdev.com:443/forums/thread/73227.aspx</link><pubDate>Fri, 23 Dec 2011 08:24:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73227</guid><dc:creator>Narasimha Murthy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73227.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=73227</wfw:commentRss><description>&lt;p&gt;Hello All,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have an infopath form (version 2010) which is a browser based. I have a cancel button on the infopath form. Upon clicking on the button i have set a rule to close the form without prompt.&lt;/p&gt;
&lt;p&gt;Now i need to display the alert message box to save the changes in the infopath form to the form library.&lt;/p&gt;
&lt;p&gt;i.e. i require close button functionality in the ribbon of browser based infopath form.&lt;/p&gt;
&lt;p&gt;please suggest.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;
&lt;p&gt;Murthy.&lt;/p&gt;</description></item></channel></rss>