<?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: Using a checkbox to update drop down lists in form with repeating sections</title><link>https://www.infopathdev.com:443/forums/thread/19207.aspx</link><pubDate>Thu, 19 Apr 2007 06:36:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19207</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19207.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19207</wfw:commentRss><description>&lt;p&gt;Hi Mark,&lt;/p&gt;&lt;p&gt;By using code we can get the all the nodes which have the vlaue is &amp;#39;Rejected&amp;#39;. You can the belwo write the onAfterChange event. &lt;/p&gt;&lt;p&gt;IXMLDOMNodeList rejectedNodes = GetNodes(&amp;quot;/../../my:repeatingNodeName[@AuthStatus = &amp;#39;Rejected&amp;#39;]&amp;quot;);&lt;/p&gt;&lt;p&gt;forech(IXMLDOMNode rejectNode in rejectedNodes)&lt;/p&gt;&lt;p&gt;{&lt;/p&gt;&lt;p&gt;rejectNode.text = &amp;quot;Approved&amp;quot;;&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Using a checkbox to update drop down lists in form with repeating sections</title><link>https://www.infopathdev.com:443/forums/thread/19180.aspx</link><pubDate>Wed, 18 Apr 2007 15:33:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19180</guid><dc:creator>markperry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19180.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19180</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m designing an InfoPath 2003 form template. It contains a repeating section with a drop down list in it and can contain anything from 1 to x rows. Each drop down list can be set to one of two values: &amp;quot;Approved&amp;quot; or &amp;quot;Rejected&amp;quot;.&lt;/p&gt;&lt;p&gt;I want to put a check box at the bottom of the form that will (when ticked) set all the drop down lists that do not have the value &amp;quot;Rejected&amp;quot; to the value &amp;quot;Approved&amp;quot;. So I have added the following rule to the check box:&lt;/p&gt;&lt;p&gt;Condition: checkbox=TRUE AND status!=&amp;quot;Rejected&amp;quot;&lt;/p&gt;&lt;p&gt;Action: Set a field&amp;#39;s value: @AuthStatus=&amp;quot;Approved&amp;quot;&lt;/p&gt;&lt;p&gt;However, when I load a form and set one or more of the drop down lists to &amp;#39;Rejected&amp;#39; and then tick the box, all the drop down lists are set to &amp;#39;Approved&amp;#39;, not just the ones that are not set to &amp;#39;Rejected&amp;#39;.&lt;/p&gt;&lt;p&gt;Can anyone guide me as to where I am going wrong?&lt;/p&gt;&lt;p&gt;Mark.&lt;/p&gt;</description></item></channel></rss>