<?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: Close Browser Window</title><link>https://www.infopathdev.com:443/forums/thread/24942.aspx</link><pubDate>Wed, 05 Dec 2007 19:34:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24942</guid><dc:creator>srinivasan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24942.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=24942</wfw:commentRss><description>&lt;p&gt;I am working on a browser based infopath form and i trying to close the form once after it is submitted. I have created a new Submit button and I am submitting the form using dataconnection.execute() method. I like to close the browser or redirect it to the library. Could you please let me know the code for closing a infopath form in browser? Thanks.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Regards,&lt;br /&gt;Srinivasan. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Close Browser Window</title><link>https://www.infopathdev.com:443/forums/thread/10783.aspx</link><pubDate>Thu, 21 Dec 2006 15:43:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10783</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10783.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10783</wfw:commentRss><description>If you can control where the users go after the form is submitted you could change it to anywhere. Once they got to this other page you could run some JavaScript that would close the current window.&lt;br /&gt;&lt;br /&gt;Since you probably don't have this option, try opening the view that they are switched to in SharePoint Designer and adding the JavaScript that way.  You could check the referrer and see if you can tweak it to only close when coming from the form so when you legitimately go to the library the window doesn't close!&lt;br /&gt;&lt;br /&gt;I hope this helps!</description></item><item><title>Close Browser Window</title><link>https://www.infopathdev.com:443/forums/thread/5970.aspx</link><pubDate>Thu, 14 Dec 2006 22:48:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5970</guid><dc:creator>machi-nk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5970.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5970</wfw:commentRss><description>Hi Everyone,&lt;br /&gt;&lt;br /&gt;I have a browser-enabled form template published to a SharePoint server. I'm providing my users (with Contribute permissions) the URL to directly access an instance of the form. The users do not get to see the SharePoint environment, and I do not wish they do during this whole process. When the form is submitted successfully, I want the browser window to close.&lt;br /&gt;&lt;br /&gt;But right now when the form is submitted successfully, the form closes alright, but somehow the browser window redirects to the SharePoint form library page.&lt;br /&gt;&lt;br /&gt;I've configured my submit option to "Close the Window" when submit is successful.&lt;br /&gt;&lt;br /&gt;I designed the form template in InfoPath 2007, and the users do not have it on their machines. So the solution has to be Web based.&lt;br /&gt;&lt;br /&gt;Please help!&lt;br /&gt;Thanks in advance.</description></item></channel></rss>