<?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: Condition on Repeating Table Elements</title><link>https://www.infopathdev.com:443/forums/thread/98924.aspx</link><pubDate>Wed, 03 Sep 2014 15:51:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98924</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98924.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=98924</wfw:commentRss><description>&lt;p&gt;Hi - This is just basic InfoPath functionality - if your control is outside of the repeating group (which if these are submit rules or rules on a specific submit button, I&amp;#39;ll assume it is) all instances of a field will be set. The condition is only going to check the first instance, and all instances will be set.&lt;/p&gt;
&lt;p&gt;So - your options are:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;qRules has a SetValue command that be can be used for this kind of filtering&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;a href="http://www.infopathdev.com/blogs/hilary/archive/2009/06/07/hack-manifest-xsf-to-filter-the-target-of-a-rule.aspx"&gt;http://www.infopathdev.com/blogs/hilary/archive/2009/06/07/hack-manifest-xsf-to-filter-the-target-of-a-rule.aspx&lt;/a&gt;&amp;nbsp;has a manifest work around&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;You could add another&amp;nbsp;helper field to&amp;nbsp;your repeating group and set it to &amp;quot;1&amp;quot;, for example, then on that field have a rule with a condition to set&amp;nbsp;the trigger field (you would want to then set the helper field back to 0 or blank&amp;nbsp;so it was ready to go the next time)&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;</description></item><item><title>Condition on Repeating Table Elements</title><link>https://www.infopathdev.com:443/forums/thread/98772.aspx</link><pubDate>Thu, 21 Aug 2014 19:24:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98772</guid><dc:creator>missieyohko</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98772.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=98772</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I have a repeating table with a column &amp;quot;trigger&amp;quot;.&lt;br /&gt;When I click submit, I want to change the triggers only where it equals some value.&lt;/p&gt;&lt;p&gt;Specifically, if trigger=0 set that&amp;nbsp;trigger (and only that trigger) to 1.&amp;nbsp; So, I made an action rule on the submit button with:&lt;/p&gt;&lt;p&gt;Condition: trigger = 0&lt;br /&gt;Set a fields value: trigger = 1.&lt;/p&gt;&lt;p&gt;The problem is that if any trigger in the repeating table = 0 it sets them all to 1.&lt;br /&gt;I only want to change the triggers that are 0, not all of them.&lt;/p&gt;&lt;p&gt;Can anyone assist me?&lt;/p&gt;</description></item></channel></rss>