<?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: Closing a form</title><link>https://www.infopathdev.com:443/forums/thread/87089.aspx</link><pubDate>Thu, 14 Feb 2013 19:04:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87089</guid><dc:creator>jaxkookie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87089.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=87089</wfw:commentRss><description>Thanks Hilary, You rock. I love S.Y.M. he is an InfoPath genius. I did not see that before but did try something similar. the only action you can&amp;#39;t run from a field change event&amp;nbsp;is close the form which he confirmed.</description></item><item><title>Re: Closing a form</title><link>https://www.infopathdev.com:443/forums/thread/87033.aspx</link><pubDate>Wed, 13 Feb 2013 15:43:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87033</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87033.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=87033</wfw:commentRss><description>I don&amp;#39;t know if this will help you or not (and you may have already seen it), but &lt;a href="http://www.bizsupportonline.net/blog/2008/01/running-code-before-rules-in-infopath/"&gt;here&amp;#39;s&lt;/a&gt; a suggestion for working around the order of operation of rules &amp;amp; code.</description></item><item><title>Closing a form</title><link>https://www.infopathdev.com:443/forums/thread/87006.aspx</link><pubDate>Tue, 12 Feb 2013 20:49:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87006</guid><dc:creator>jaxkookie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87006.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=87006</wfw:commentRss><description>&lt;p&gt;I have done much research and understand that a browser form cannot be closed using code. I have created a submit function that dynamically names my template and library so I do not need to add this as a data source. this make rolling out the template to multiple locations very easy and only maintain one file. the save function takes the outerxml and stores it in sql then uploads it into the dynamic library. I can not use the formevent submit. I have to use save buttons. my first save button allows the user to create a template with prefilled in data and saves this &amp;quot;template&amp;quot; in a template library using the same method described above. the second save saves to the doc library. the problem is I cant close the form with the same click event. currently I run all my code switch my view and save the xml. then on the view the user can click a close button. I tried looking to see if there was a way to close the form on view change or field change, even using rules, but not successful. I cant add the close rule to my buttons because rules fire before code and the form isnt saved.&lt;/p&gt;&lt;p&gt;Any, any help. How can I close a browser form (2010) after I switch a view or change a field? can I run a button on view change?&lt;/p&gt;&lt;p&gt;thanks&lt;/p&gt;</description></item></channel></rss>