<?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>Qdabra qRules</title><link>https://www.infopathdev.com:443/forums/131.aspx</link><description>qRules adds support to your InfoPath  forms. With qRules, you can add features to your form that require code, but without having to write it. </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: qRulesLink in Seperate Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/87688.aspx</link><pubDate>Tue, 05 Mar 2013 20:35:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87688</guid><dc:creator>Mel Clemente</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87688.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=87688</wfw:commentRss><description>&lt;p&gt;Hi - the second option is the easier approach so I&amp;#39;ll respond to that. You&amp;#39;d want to place the attachment control inside a section so that you can add a conditional formatting to hide it if qRulesLink is not blank; something like this:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;img src="http://www.infopathdev.com/photos/blog_pictures/images/87686/original.aspx" alt="" /&gt;&lt;a href="http://www.infopathdev.com/photos/blog_pictures/picture87687.aspx" target="_blank"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Here&amp;#39;s a sample result:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;img src="http://www.infopathdev.com/photos/blog_pictures/images/87687/original.aspx" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;I attached a sample form if that helps.&lt;/p&gt;</description></item><item><title>Re: qRulesLink in Seperate Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/87684.aspx</link><pubDate>Tue, 05 Mar 2013 20:19:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87684</guid><dc:creator>JenniferLindsay</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87684.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=87684</wfw:commentRss><description>&lt;p&gt;Hi Bruce,&lt;/p&gt;&lt;p&gt;Here is one idea:&amp;nbsp;add another attribute to your file attachment field&amp;nbsp;called IsLocked (true/false data type, default value = false), and then as part of your submit setup add a rule that sets IsLocked&amp;nbsp;= true for all rows in your repeating table.&amp;nbsp; Then, set a formatting rule on the attachment field to disable the control&amp;nbsp;if IsLocked&amp;nbsp;=&amp;nbsp;true.&amp;nbsp; This won&amp;#39;t remove the attachment fields, but it will disable them so they can&amp;#39;t be clicked.&amp;nbsp; Alternately, you can set the formatting rule to hide if IsLocked = true, which will hide the attachment field completely once you have submitted.&amp;nbsp; If you hide or disable on submit, then the user can go back and change attachments before submitting, instead of having to delete a row and add a new one if they happen to select the wrong attachment.&lt;/p&gt;</description></item><item><title>qRulesLink in Seperate Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/87669.aspx</link><pubDate>Tue, 05 Mar 2013 13:34:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87669</guid><dc:creator>Bruce B</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87669.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=87669</wfw:commentRss><description>&lt;p&gt;&lt;i&gt;My requirement is to prevent end-users from clicking the attachment field in an already populated repeating table row and overwriting already added attachments - it would be best to make it just dissappear &lt;b&gt;after&lt;/b&gt; it saves the attachment to SharePoint&amp;nbsp;and populates the qRulesLink field with the link to the file.&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;I have a File Attachment field in a repeating table along with the &lt;b&gt;qRulesLink&lt;/b&gt; field beside it in the same table.&amp;nbsp; I can add multiple attachments to my form using this repeating table.&amp;nbsp; When I use the &lt;b&gt;SubmitToSharePointList&lt;/b&gt; command, it saves the attachments to a SharePoint library and adds the links to the attachments in the &lt;b&gt;qRulesLink&lt;/b&gt; field.&lt;/p&gt;
&lt;p&gt;However after I submit the form, the (seemingly empty) attachment field still appears there beside the qRulesLink field.&amp;nbsp; If someone clicks on it and adds another attachment, it changes the link in that row when it&amp;#39;s saved again, overwriting the previous attachment link.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Is there a way to populate the links (qRulesLink) to attachments in a separate repeating field?&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Or...&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Is there a way to make the attachments field disappear from the row once a qRulesLink is populated within the same row (but still have the ability to add additional attachment rows)?&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Bruce B&lt;/b&gt;&lt;/p&gt;</description></item></channel></rss>