<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Rules on fields in a repeating section</title><link>https://www.infopathdev.com:443/forums/thread/46654.aspx</link><pubDate>Fri, 04 Sep 2009 23:23:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46654</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46654.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=46654</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Awesome.&amp;nbsp; Glad to hear you figured it out, and thanks for sharing your final solution in an easy-to-read format so that it can help others.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Rules on fields in a repeating section</title><link>https://www.infopathdev.com:443/forums/thread/46645.aspx</link><pubDate>Fri, 04 Sep 2009 17:14:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46645</guid><dc:creator>g-man</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46645.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=46645</wfw:commentRss><description>&lt;p&gt;Success!&amp;nbsp; Here are the specifics in case anyone encounters the same issue.&amp;nbsp; On the TriggerValue field create two rules:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Rule1&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Condition dialog:&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;First combo box: &amp;quot;The expression&amp;quot;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Expression: &amp;quot;not(//my:myFields/..../my:TriggerValue[. != &amp;#39;No&amp;#39;])&amp;quot;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;Action dialog:&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;First combo box: &amp;quot;Set a field&amp;#39;s value&amp;quot;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Field: &amp;quot;&lt;u&gt;ResultValue&lt;/u&gt;&amp;quot;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Value: &amp;quot;No&amp;quot;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;Rule2&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Condition dialog:&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;First combo box: &amp;quot;The expression&amp;quot;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Expression: &amp;quot;boolean(//my:myFields/..../my:TriggerValue[. = &amp;#39;Yes&amp;#39;])&amp;quot;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;Action dialog:&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;First combo box: &amp;quot;Set a field&amp;#39;s value&amp;quot;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Field: &amp;quot;&lt;u&gt;ResultValue&lt;/u&gt;&amp;quot;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Value: &amp;quot;Yes&amp;quot;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;
&lt;p&gt;Thanks again Jimmy for all your help and patience.&lt;/p&gt;</description></item><item><title>Re: Rules on fields in a repeating section</title><link>https://www.infopathdev.com:443/forums/thread/46644.aspx</link><pubDate>Fri, 04 Sep 2009 16:32:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46644</guid><dc:creator>g-man</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46644.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=46644</wfw:commentRss><description>&lt;p&gt;Of course I read your post.&amp;nbsp; I&amp;#39;m very sorry,&amp;nbsp;I wasn&amp;#39;t thinking and should have taken more time with my last post - doing too many things at once.&amp;nbsp; What I wasn&amp;#39;t seeing is the option &amp;quot;The expression&amp;quot; under the first field in the Condition dialog box.&amp;nbsp;Like I said, still fairly new to InfoPath.&amp;nbsp; I&amp;#39;ll take another shot at this and let you know how it comes out.&amp;nbsp; Thanks for being patient with me.&lt;/p&gt;</description></item><item><title>Re: Rules on fields in a repeating section</title><link>https://www.infopathdev.com:443/forums/thread/46643.aspx</link><pubDate>Fri, 04 Sep 2009 16:09:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46643</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46643.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=46643</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Did you read my post?&amp;nbsp; I didn&amp;#39;t suggest that you use &amp;quot;All occurrences of TriggerValue.&amp;quot;&amp;nbsp; I suggested an alternative.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Rules on fields in a repeating section</title><link>https://www.infopathdev.com:443/forums/thread/46642.aspx</link><pubDate>Fri, 04 Sep 2009 16:07:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46642</guid><dc:creator>g-man</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46642.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=46642</wfw:commentRss><description>&lt;p&gt;That&amp;#39;s the problem.&amp;nbsp; If I put the rule on the TriggerValue field it does not allow me to specify &amp;quot;All occurrences of TriggerValue&amp;quot; as a condition, I&amp;#39;m guessing because it&amp;#39;s actually inside the repeating section.&lt;/p&gt;</description></item><item><title>Re: Rules on fields in a repeating section</title><link>https://www.infopathdev.com:443/forums/thread/46640.aspx</link><pubDate>Fri, 04 Sep 2009 16:02:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46640</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46640.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=46640</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Then put the rule on the TriggerValue field.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Rules on fields in a repeating section</title><link>https://www.infopathdev.com:443/forums/thread/46630.aspx</link><pubDate>Fri, 04 Sep 2009 14:41:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46630</guid><dc:creator>g-man</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46630.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=46630</wfw:commentRss><description>&lt;p&gt;Wait, this won&amp;#39;t work.&amp;nbsp; Placing this in the rules on the ResultValue field, the rule won&amp;#39;t be triggered when the TriggerValue field is changed.&lt;/p&gt;</description></item><item><title>Re: Rules on fields in a repeating section</title><link>https://www.infopathdev.com:443/forums/thread/46628.aspx</link><pubDate>Fri, 04 Sep 2009 14:32:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46628</guid><dc:creator>g-man</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46628.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=46628</wfw:commentRss><description>&lt;p&gt;Yea, I posted a different thread because it was a different issue than I originally thought, having nothing really to do with the target being in a hidden section.&amp;nbsp; I didn&amp;#39;t really understand your post when I first looked at it (moderate level of programming experience but fairly new to InfoPath).&amp;nbsp; I took another look at it and the lights went on.&amp;nbsp; I will try it in my test environment and let you know how it comes out.&lt;/p&gt;</description></item><item><title>Re: Rules on fields in a repeating section</title><link>https://www.infopathdev.com:443/forums/thread/46625.aspx</link><pubDate>Fri, 04 Sep 2009 13:56:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46625</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46625.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=46625</wfw:commentRss><description>&lt;p&gt;Isn&amp;#39;t this the same issue that you mentioned in your other thread?&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/forums/p/13135/46520.aspx#46520"&gt;Re: Setting a
field value inside a hidden section&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If so, I suggested a solution there.&amp;nbsp; Did you try it? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Rules on fields in a repeating section</title><link>https://www.infopathdev.com:443/forums/thread/46621.aspx</link><pubDate>Fri, 04 Sep 2009 13:10:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46621</guid><dc:creator>g-man</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46621.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=46621</wfw:commentRss><description>&lt;p&gt;The problem is the rule needs to be set on one of the fields inside the repeating section and I&amp;#39;m not being given the option when I select the Condition&amp;nbsp;field of specifying &amp;quot;All occurrences of &amp;lt;field&amp;gt;&amp;quot;.&amp;nbsp; I have found a solution, but I&amp;#39;m not sure it&amp;#39;s the best solution.&amp;nbsp; I have created a field on a hidden view and used it to do the checking...&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;gpRepeatingSection (repeating section)&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;TriggerValue (combo box - yes/no)&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;ResultValue (combo box - yes/no)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;CheckingField (text box)&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Rule on TriggerValue - &lt;strong&gt;Condition&lt;/strong&gt;: None - This rule always applies&amp;nbsp; &lt;strong&gt;Action&lt;/strong&gt;: Set the value of CheckingField = concat(&lt;u&gt;CheckingField&lt;/u&gt;, &amp;quot;1&amp;quot;) - this just triggers the rules on CheckingField any time the value of TriggerValue is changed&lt;/p&gt;
&lt;p&gt;2 Rules on CheckingField - (1) &lt;strong&gt;Condition&lt;/strong&gt;: All occurrences of TriggerField != &amp;#39;Yes&amp;#39;&amp;nbsp; &lt;strong&gt;Action&lt;/strong&gt;: Set the value of ResultValue = &amp;#39;No&amp;#39;&amp;nbsp; (2) &lt;strong&gt;Condition&lt;/strong&gt;: Any occurrence of TriggerField = &amp;#39;Yes&amp;#39;&amp;nbsp; &lt;strong&gt;Action&lt;/strong&gt;: Set the value of ResultValue = &amp;#39;Yes&amp;#39;&lt;/p&gt;
&lt;p&gt;This works correctly, but I&amp;#39;d be interested to know if there&amp;#39;s a simpler solution.&lt;/p&gt;</description></item><item><title>Re: Rules on fields in a repeating section</title><link>https://www.infopathdev.com:443/forums/thread/46532.aspx</link><pubDate>Thu, 03 Sep 2009 05:23:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46532</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46532.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=46532</wfw:commentRss><description>&lt;p&gt;refer to this link to use eval function on your repeating section http://www.infopathdev.com/forums/t/13133.aspx then just check if the evaluate value contains &amp;quot;yes&amp;quot; or not and set value accordingly &lt;/p&gt;</description></item><item><title>Rules on fields in a repeating section</title><link>https://www.infopathdev.com:443/forums/thread/46523.aspx</link><pubDate>Wed, 02 Sep 2009 19:38:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46523</guid><dc:creator>g-man</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46523.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=46523</wfw:commentRss><description>&lt;p&gt;I have a field in a repeating section that I need to create a rule on.&amp;nbsp; I need the condition to check the value for all occurrences of that field, like this:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;&amp;nbsp;gpRepeatingSection (repeating section)&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;TriggerValue (combo box - yes/no)&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;ResultValue (combo box - yes/no)&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;If all occurrences of TriggerValue = no then ResultValue needs to equal no.&amp;nbsp; If any occurrence of TriggerValue = yes then ResultValue needs to equal yes.&lt;/p&gt;
&lt;p&gt;The problem is when creating the rule I am not being given the option of selecting &amp;#39;all occurrences of TriggerValue&amp;#39; or &amp;#39;any occurrence of TriggerValue&amp;#39;, I&amp;#39;m guessing because the rule is on a field within that repeating section.&amp;nbsp; Any ideas?&lt;/p&gt;</description></item></channel></rss>