<?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: Rules on a field in a repeating section</title><link>https://www.infopathdev.com:443/forums/thread/87354.aspx</link><pubDate>Sun, 24 Feb 2013 04:05:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87354</guid><dc:creator>moldar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87354.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=87354</wfw:commentRss><description>&lt;p&gt;You&amp;nbsp;can loop through the values of all the &amp;quot;Fields A&amp;quot;s in code. Create a flag field in your schema named &amp;quot;FieldBShow&amp;quot;. If any of the &amp;quot;Field A&amp;quot;s are set to &amp;quot;A&amp;quot;, then set that flag to true. If none of them are, set it to false. Then create a formatting rule that hides &amp;quot;Field B&amp;quot; based on whether or not &amp;quot;FieldBShow&amp;quot; is true/false.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can do this by creating the code in the changed event for the repeating section of your schema.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Rules on a field in a repeating section</title><link>https://www.infopathdev.com:443/forums/thread/87298.aspx</link><pubDate>Thu, 21 Feb 2013 01:47:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87298</guid><dc:creator>AlexK</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87298.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=87298</wfw:commentRss><description>&lt;p&gt;Consider this scenario: You have a repeating section with a dropdown field &amp;quot;Field A&amp;quot;. Another separate non-repeating section has a field &amp;quot;Field B&amp;quot; that only shows when &amp;quot;Field A&amp;quot;&amp;#39;s dropdown is set to &amp;quot;A&amp;quot;. Now the problem: when adding multiple repeating items of &amp;quot;Field A&amp;quot;, &amp;quot;Field B&amp;quot; will only show if ALL of the repeated &amp;quot;Field A&amp;quot;s are set to &amp;quot;A&amp;quot;! How to get around this to show &amp;quot;Field B&amp;quot; when ANY of the dropdowns in &amp;quot;Field A&amp;quot; are set to &amp;quot;A&amp;quot;?&lt;/p&gt;</description></item></channel></rss>