<?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: Include data for the active form only fails in receive data connection of Infopath Form</title><link>https://www.infopathdev.com:443/forums/thread/86391.aspx</link><pubDate>Fri, 25 Jan 2013 06:07:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86391</guid><dc:creator>Alandha</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86391.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=86391</wfw:commentRss><description>&lt;p&gt;Thanks Ernesto for the suggestion.&lt;/p&gt;
&lt;p&gt;I have implemented as mentioned by you and this worked fine when i filled all the form fields and submitted the Form. Once submittion is complete, i navigated to Form library where the form gets submitted and opened the item and found that the Submit button is disabled.&lt;/p&gt;
&lt;p&gt;But, if i leave the mandatory fields empty and click on Submit button, a validation error message would trigger and once i close the validation message and come back to form, i found that the Submit button is disabled. And i understood why it came because the rules were set in in Submit button control and upon clicking it the rules will any way execute.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;So what i did is I set rule when the form loads to set the DisableSubmit field to TRUE. For settings this, follow the below steps:&lt;/p&gt;
&lt;p&gt;Go to Tools--&amp;gt; Form Options --&amp;gt; Select Open and Save --&amp;gt; Under Open Behaviour, select Rules.&lt;/p&gt;
&lt;p&gt;Under rules, Created an action for setting the DisableSubmit button equals TRUE when any of the mandatory fields in the form are not blank. As we know that when the form loads for the first time, this condition doesnot satisfy and thus DisableSubmit as set by default will be TRUE. Once we submit form, all the mandatory fields will anyhow have values and in second loading of the submitted form will satisfy the condition and then the DisableSubmit will be set as TRUE.&lt;/p&gt;
&lt;p&gt;That is, Assume Location is a dropdown field in my form which is mandatory then&lt;/p&gt;
&lt;p&gt;If Location != blank,&amp;nbsp; Set DisableSubmit=TRUE&lt;/p&gt;
&lt;p&gt;Here by my issue was fixed. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Include data for the active form only fails in receive data connection of Infopath Form</title><link>https://www.infopathdev.com:443/forums/thread/86230.aspx</link><pubDate>Mon, 21 Jan 2013 13:18:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86230</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86230.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=86230</wfw:commentRss><description>&lt;p&gt;That&amp;#39;s an interesting solution. Why the need for a Workflow to achieve this?&lt;/p&gt;&lt;p&gt;It can be done within the InfoPath form itself, right? Simply have a field in the form called &amp;quot;DisableSubmit&amp;quot;, boolean, False by default. When a new form is opened, this means Submit will be enabled. Then, when the user submits, have a rule (in the submit button itself) that flips DisableSubmit to true. That means that the next time the xml form is opened, DisableSubmit=TRUE and thus the Submit button is disabled.&lt;/p&gt;&lt;p&gt;If you need to have a dependancy on a specific Status, then that can be done within the form too, simply have a field called Status. When the form first gets opened, set Status = NEW. When the submit button gets clicked, the Status gets set to Submitted.&lt;/p&gt;&lt;p&gt;As far as fixing the issue you currently are faced with, I would review the Nintex workflow and the form in design mode to make sure that nothing broke after the migration to SharePoint 2010.&lt;/p&gt;&lt;p&gt;Hope this helps.&lt;/p&gt;</description></item><item><title>Include data for the active form only fails in receive data connection of Infopath Form</title><link>https://www.infopathdev.com:443/forums/thread/86219.aspx</link><pubDate>Mon, 21 Jan 2013 06:47:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86219</guid><dc:creator>Alandha</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86219.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=86219</wfw:commentRss><description>&lt;p&gt;Hi Team,&lt;/p&gt;
&lt;p&gt;Our client requirement is that once a form developed using Infopath 2007 has been submitted and when any user tries to view the submitted form, the Submit button should&amp;nbsp;get disabled not allowing the user to submit it once again. For implementing this,&amp;nbsp;i have done the following:&lt;/p&gt;
&lt;p&gt;1. Created a&amp;nbsp;column called &amp;quot;Submitted&amp;quot; of data type Single line of text in form library to which the Infopath Form is associated and kept the default value as 0.&lt;/p&gt;
&lt;p&gt;2. Created an action in Nintex Workflow to set the Submitted column value as 1.&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;I have &amp;nbsp;created a new Receive Data connection&amp;nbsp;in Infopath form&amp;nbsp;and selected the source as SharePoint List or Library. &lt;/p&gt;
&lt;p&gt;3. In next step, i have provided the url of the Form library where the form should get submit in order to receive the value of Submitted column from the library.&amp;nbsp;While in the&amp;nbsp;process, where it is asking us for selecting a field &amp;nbsp;Imp: I have checked the checkbox &amp;quot;Include data for the active form only&amp;quot; (PFA).&lt;/p&gt;
&lt;p&gt;4. In the Conditional Formatiing of Submit button, i picked the Submitted column from Data Connection and kept the condition as below:&lt;/p&gt;
&lt;p&gt;If Submitted&amp;nbsp;equals 1(select a text), Disable this control.&lt;/p&gt;
&lt;p&gt;The above functionality worked&amp;nbsp;as required&amp;nbsp;when the form is deployed to SharePoint 2007. But recently, we migrated the SharePoint&amp;nbsp; to 2010 and this functionality failed for Infopath while deploying it.&lt;/p&gt;
&lt;p&gt;Has anyone came across this issue before? Can anyone provide us the reason behind the failure and provide me a solution to handle such issue?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>