<?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: Close form on submit success/stay open on failure</title><link>https://www.infopathdev.com:443/forums/thread/57192.aspx</link><pubDate>Thu, 22 Jul 2010 13:56:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57192</guid><dc:creator>Pcheru</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57192.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57192</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you guys please help me with a similar problem but the scenario is different. &lt;/p&gt;
&lt;p&gt;I am not using Submit Options to submit the form but it is done through a code. I click the OK button and then an Auto ID is generated after which,I want my form to be closed.&lt;/p&gt;
&lt;p&gt;I used a rule&amp;nbsp;by setting the condition as&amp;nbsp;&amp;quot; if ID is not blank close form&amp;quot;....but the problem here is I need to click on the OK button once to generate the ID and again to close the form. But, my requirement is I click the OK button only once&amp;nbsp;after which an&amp;nbsp;ID is generated and form is closed immediately after generation.&lt;/p&gt;
&lt;p&gt;P.S: I also tried removing the rule to the OK button then,ID is not generated but form is closed.&lt;/p&gt;</description></item><item><title>Re: Close form on submit success/stay open on failure</title><link>https://www.infopathdev.com:443/forums/thread/30196.aspx</link><pubDate>Tue, 08 Jul 2008 13:49:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30196</guid><dc:creator>Anuma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30196.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=30196</wfw:commentRss><description>&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;Hi,&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&amp;nbsp;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;If you want to do this without using code, then pleae follow the below steps:&lt;/p&gt;&amp;nbsp; 
&lt;ol style="MARGIN-TOP:0in;"&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;Open Button properties.&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;Select Rules and click on “Add action” button.&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;Select submit data connection and click on ok.&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;Again click on “Add action” button.&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;Select “Close the form” option from drop down.&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0in 0in 0pt;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;Select the “If changes have not been saved, prompt the users to save” check box and click on ok.&lt;/li&gt;&lt;/ol&gt;&amp;nbsp;Note: In the Rules dialog box Submit action should be displayed first and then close form action will be displayed. If you want show any message popup window, that action should be displayed in between submit and close actions.&lt;/font&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Close form on submit success/stay open on failure</title><link>https://www.infopathdev.com:443/forums/thread/30194.aspx</link><pubDate>Tue, 08 Jul 2008 12:33:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30194</guid><dc:creator>freebird_wr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30194.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=30194</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am new to Infopath, so this question my seem trivial.&amp;nbsp; I need a way to close a form if the submit was successful, but keep it open if it failed.&amp;nbsp; Failure could be from not filling in required data to not digitally signing the form.&amp;nbsp; There are two parts to the form - the top is for the user to fill in, sign, and submit and the bottom part is for the supervisor to review, comment, sign, and submit.&amp;nbsp; Is this possible?&amp;nbsp; Thanks.&amp;nbsp; Scott&lt;/p&gt;</description></item></channel></rss>