<?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: Problem disabling a button in repeating section</title><link>https://www.infopathdev.com:443/forums/thread/62031.aspx</link><pubDate>Tue, 07 Dec 2010 17:24:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62031</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62031.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=62031</wfw:commentRss><description>&lt;p&gt;I don&amp;#39;t understand why you are using code for this? Is the button inside the repeating section? I&amp;#39;m pretty sure that you can use a rule to set a field&amp;#39;s value and it will only set the current field, as long as the button is inside the repeating section....&lt;/p&gt;</description></item><item><title>Re: Problem disabling a button in repeating section</title><link>https://www.infopathdev.com:443/forums/thread/62007.aspx</link><pubDate>Tue, 07 Dec 2010 14:51:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62007</guid><dc:creator>Maureen57</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62007.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=62007</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Trying it but no luck so far...XDocument.DOM.&lt;b&gt;selectSingleNode&lt;/b&gt;(&amp;quot;/my:myFields/my:group5/my:Enabled[1]&amp;quot;).text = &amp;quot;NO&amp;quot;;&amp;nbsp;&amp;nbsp; and every instance turns to NO.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I thought that&amp;nbsp; XDocument.DOM.&lt;b&gt;selectSingleNode&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; got the current instance of the group.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Problem disabling a button in repeating section</title><link>https://www.infopathdev.com:443/forums/thread/61998.aspx</link><pubDate>Tue, 07 Dec 2010 12:30:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61998</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61998.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=61998</wfw:commentRss><description>&lt;p&gt;It would probably have to be something like &lt;i&gt;/my:myFields/my:group1/my:Enabled[3]&lt;/i&gt; &lt;u&gt;&lt;b&gt;or&lt;/b&gt;&lt;/u&gt; &lt;i&gt;/my:myFields/my:group1[3]/my:Enabled&lt;/i&gt; (I can&amp;#39;t remember which one is correct) so you select only the one row and not the entire column in your repeating table.&lt;/p&gt;</description></item><item><title>Problem disabling a button in repeating section</title><link>https://www.infopathdev.com:443/forums/thread/61994.aspx</link><pubDate>Tue, 07 Dec 2010 12:09:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61994</guid><dc:creator>Maureen57</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61994.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=61994</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have a form with a repeating section, which contains a button to send email.&amp;nbsp; After the email is sent from one instance of the section, I want to disable that button in that instance.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I&amp;#39;ve tried&amp;nbsp; to disable the button instance by populating another field in the repeating section after the email is sent, and then using conditional formatting on the button.&lt;/p&gt;&lt;p&gt;The ENABLED field has a default value of &amp;quot;YES&amp;quot;.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;After the email is sent, I set a single instance of the value to &amp;quot;NO&amp;quot; in the click event. :&amp;nbsp; XDocument.DOM.selectSingleNode(&amp;quot;/my:myFields/my:group1/my:Enabled&amp;quot;).text = &amp;quot;NO&amp;quot;;&lt;/p&gt;&lt;p&gt;&amp;nbsp;This consistently sets every instance of the ENABLED field to &amp;quot;NO&amp;quot; and so disables the Button in every instance of the repeating group. &lt;/p&gt;&lt;p&gt;&amp;nbsp;Ideas? &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks much. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>