<?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: Setting a field value inside a hidden section</title><link>https://www.infopathdev.com:443/forums/thread/46526.aspx</link><pubDate>Wed, 02 Sep 2009 23:02:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46526</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46526.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=46526</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;You can use a custom expression on the rule in this situation.&amp;nbsp; For example:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;not(//my:TriggerValue[. != -1])&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;Will be true when all TriggerValue fields are equal to -1, and&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;nbsp;boolean(//my:TriggerValue[. != -1])&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Will be true when one or more TriggerValue fields are not equal to -1. &lt;/p&gt;&lt;p&gt;So you could combine the second one with&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;Dropdown = Not Applicable&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;To create another rule to set the dropdown back to the Not Started value when the hidden section is unhidden. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Setting a field value inside a hidden section</title><link>https://www.infopathdev.com:443/forums/thread/46520.aspx</link><pubDate>Wed, 02 Sep 2009 18:13:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46520</guid><dc:creator>g-man</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46520.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=46520</wfw:commentRss><description>&lt;p&gt;That makes sense that the rules only fire during the change event.&amp;nbsp; The conditional format for the section&amp;nbsp;is set to when &amp;quot;All Occurrences of&amp;quot; the triggering&amp;nbsp;field != 1.&amp;nbsp; Unfortunately the triggering&amp;nbsp;field&amp;nbsp;is in a repeating section and I&amp;#39;m not being given the option to select any/all occurrences when creating rules for that field.&amp;nbsp; Is there a way around that?&lt;/p&gt;</description></item><item><title>Re: Setting a field value inside a hidden section</title><link>https://www.infopathdev.com:443/forums/thread/46518.aspx</link><pubDate>Wed, 02 Sep 2009 17:41:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46518</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46518.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=46518</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Rules only fire when the field to which they are attached undergoes a change in value.&amp;nbsp; That doesn&amp;#39;t seem to be the situation you have here.&amp;nbsp; Might it be possible to come up with some other rule logic (on the fields that determine whether the section is hidden or not) that will set the combo box&amp;#39;s field at the appropriate time?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Setting a field value inside a hidden section</title><link>https://www.infopathdev.com:443/forums/thread/46517.aspx</link><pubDate>Wed, 02 Sep 2009 17:15:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46517</guid><dc:creator>g-man</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46517.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=46517</wfw:commentRss><description>&lt;p&gt;I have a form with a number checklist tasks, each in its own section with a combo box for the status of the task.&amp;nbsp; Based on other information entered on the form, checklist items may be hidden because they don&amp;#39;t apply.&amp;nbsp; The default value of the status combo box is &amp;quot;Not Started&amp;quot;, but I need to change this value to &amp;quot;Not Applicable&amp;quot; if the task&amp;#39;s section is hidden (this form is used as the template for a SharePoint site and the status field of each task is displayed on the site).&amp;nbsp; I have tried setting a rule on the combo box stating&amp;nbsp;if the parent&amp;nbsp;section is not present then&amp;nbsp;set the field&amp;#39;s value to &amp;quot;Not Applicable&amp;quot;, but evidently rules aren&amp;#39;t processed once the device is hidden?&amp;nbsp; Any suggestions?&lt;/p&gt;</description></item></channel></rss>