<?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: Form Load rules unexpectedly running multiple times</title><link>https://www.infopathdev.com:443/forums/thread/115991.aspx</link><pubDate>Thu, 06 Apr 2017 22:56:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115991</guid><dc:creator>dlafbsci</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115991.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=115991</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks again. I talked to a user today that I saw had&amp;nbsp;one of these&amp;nbsp;multi-submits and asked if his browser refreshed or anything while he was filling out the form... the answer was no. The form that ended up getting&amp;nbsp;properly completed&amp;nbsp;ended up being the first file; the extra copies were created after. So it seems like&amp;nbsp;somehow these Form Load rules are running and executing additional times&amp;nbsp;in the background WHILE the original is still being filled out. Strange.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Again with the caveat that I have no idea what I&amp;#39;m talking about...&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Could &amp;quot;Postback&amp;quot; settings for any of these fields that I&amp;#39;m manipulating during Form Load potentially cause any strange behavior? They are all on the recommended &amp;#39;only when necessary&amp;#39; settings - could changing them&amp;nbsp;to &amp;#39;Never&amp;#39; or &amp;#39;Always&amp;#39; have any kind of effect on how these forms are getting submitted?? I&amp;#39;m just grasping at straws here.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;EDIT:&lt;/p&gt;&lt;p&gt;&amp;nbsp;I found out&amp;nbsp;the root cause!&amp;nbsp;I have a people picker field that adds those selected into&amp;nbsp;the CC field of an email that goes out upon form completion.&amp;nbsp;When users manually type into the people picker&amp;nbsp;rather than use the actual buttons, when the picker &amp;#39;fails&amp;#39; (types the name incorrectly) it posts back to the server and creates a new document in the background. Now I just need to figure out how to stop that! :)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Form Load rules unexpectedly running multiple times</title><link>https://www.infopathdev.com:443/forums/thread/115985.aspx</link><pubDate>Wed, 05 Apr 2017 21:39:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115985</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115985.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=115985</wfw:commentRss><description>It makes complete sense, actually - but I can&amp;#39;t think of any way to do that via built in InfoPath stuff.... Even if you tricked them into clicking a URL on the form or something that would then actually open the saved form - it would open in a new tab &amp;amp; leave the old form sitting in the old tab.</description></item><item><title>Re: Form Load rules unexpectedly running multiple times</title><link>https://www.infopathdev.com:443/forums/thread/115984.aspx</link><pubDate>Wed, 05 Apr 2017 21:30:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115984</guid><dc:creator>dlafbsci</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115984.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=115984</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks for the reply! I think I&amp;#39;ve read hundreds of your posts :)&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;So keep in mind I have literally no background in any web development at all... I figured nearly everything out via this site. I might not have the right vocabulary for some of this!&lt;/p&gt;&lt;p&gt;&amp;nbsp;It looks like an existing doc URL is pointing to the actual saved&amp;nbsp;XML file and location, whereas a new doc URL is pointing to the XSN template. I guess that makes sense then that a refresh of &lt;strong&gt;that&lt;/strong&gt; URL would simply start the process over.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Is there a way after I&amp;#39;ve established my filename to... actually &amp;quot;send&amp;quot; the user to the appropriate URL that was created via my submit rules? So that they&amp;#39;re working off the new XML file rather than the template (as if they had closed and reopened)? Does that makes sense? Haha :)&lt;/p&gt;</description></item><item><title>Re: Form Load rules unexpectedly running multiple times</title><link>https://www.infopathdev.com:443/forums/thread/115983.aspx</link><pubDate>Wed, 05 Apr 2017 21:07:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115983</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115983.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=115983</wfw:commentRss><description>Take a look at the difference in the URLs between a new doc &amp;amp; when you open an existing doc. I&amp;#39;m pretty sure that would explain the behavior you see when you are refreshing. However - I don&amp;#39;t know what is causing the issue you are seeing for some users.</description></item><item><title>Form Load rules unexpectedly running multiple times</title><link>https://www.infopathdev.com:443/forums/thread/115979.aspx</link><pubDate>Wed, 05 Apr 2017 16:23:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115979</guid><dc:creator>dlafbsci</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115979.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=115979</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Right away, I&amp;#39;d like to lay out my theory regarding my problem: Submitting and closing and reopening a form&amp;nbsp;seems to be a different &amp;quot;thing&amp;quot; than simply submitting.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have a form that during Form Load sets a filename via the classic userName+now concat. It also grabs and displays a SharePoint ID number on the form via a double submit (Submit, Query, Set ID Field, Submit). Both of these rules run on the condition &amp;quot;is blank&amp;quot;, so opening already submitted forms does not change these values. I do this during Form Load rather than the final Submit because this form in addition to being electronically submitted must also be physically printed out; I can&amp;#39;t expect users to close-reopen-print-close rather than just print-close.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Now to the issue: Particular users (not everyone)&amp;nbsp;seem to have an odd issue where several submissions are happening in rapid succession. In the attached screenshot we see that we have a 2nd doc created 10 seconds later, a 3rd 7 seconds after that, and a 4th 1(!) second later.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I&amp;#39;m partially able to recreate this problem myself, by starting a new form and then refreshing my browser. Each time I&amp;nbsp;click refresh&amp;nbsp;instead of returning to the same filename and ID it creates a new document again! This seems odd to me because the form has already been submitted to the SharePoint - neither of the&amp;nbsp;rules that create a new filename or fetch an ID number should run, because those values are not blank. And yet, it acts as though nothing is filled in, so it creates a new document.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Curiously, if I add a new&amp;nbsp;document, then close the form and reopen it,&amp;nbsp;I can&amp;nbsp;refresh the browser as many times as I want and it acts as expected - retaining the same filename and ID.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;So what&amp;#39;s happening here? Why does a document I just created, and has been submitted &lt;em&gt;twice&lt;/em&gt; via rules, behave differently than a form I actually close and reopen? My guess is that whatever causes this behavior is what&amp;#39;s causing the screenshot issue for my users. Maybe a weak Wi-Fi signal or some browser configuration is causing their browser to &amp;quot;refresh&amp;quot; a few times before settling? Google has finally failed me ;)&lt;/p&gt;</description></item></channel></rss>