<?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: Problem disabling button used with Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/65981.aspx</link><pubDate>Mon, 18 Apr 2011 16:20:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65981</guid><dc:creator>g21cincy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65981.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=65981</wfw:commentRss><description>&lt;p&gt;Thanks Ernesto and qwerty for helping out. I was able to get the solution with both of your help!&lt;/p&gt;</description></item><item><title>Re: Problem disabling button used with Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/65961.aspx</link><pubDate>Fri, 15 Apr 2011 23:29:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65961</guid><dc:creator>qwerty</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65961.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=65961</wfw:commentRss><description>Hi there, &lt;br /&gt;&lt;br /&gt;
What&amp;#39;s happening is that the initial value of blank checkboxes in your secondary datasource is not set to &amp;#39;no&amp;#39;. When you &lt;i&gt;uncheck&lt;/i&gt; a chckbox, IP looks at what it should be when it&amp;#39;s unchecked and sets it to &amp;#39;no&amp;#39;, but it doesn&amp;#39;t make this adjustment when you open the form. &lt;br /&gt;&lt;br /&gt;It will probably be easier to change the string you&amp;#39;re comparing checkboxes to in IP than to change the default value of your secondary datasource, so here&amp;#39;s what you do:&lt;br /&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Add a button to the repeating table row in design mode and add a rule to it: &lt;b&gt;Show a dialog expression &lt;/b&gt;(note that the initial setting is Show a Dialog Message, you&amp;#39;ll need to change this in the dropdown box, then click the &amp;#39;fx&amp;#39; button, then select your checkbox from the field-selector) &lt;b&gt;&amp;lt;Name of Checkbox&amp;gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Now, preview your form and click the button in one of the rows you&amp;#39;ve never checked/unchecked;&lt;/li&gt;
&lt;li&gt;Then change the string &amp;#39;no&amp;#39; that you&amp;#39;ve been using to whatever the dialog box says.&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;&lt;br /&gt;
Have a great day!</description></item><item><title>Re: Problem disabling button used with Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/65957.aspx</link><pubDate>Fri, 15 Apr 2011 17:02:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65957</guid><dc:creator>g21cincy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65957.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=65957</wfw:commentRss><description>&lt;p&gt;Ernesto,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks for that example. I think I saw it done that way online but wasn&amp;#39;t sure how to get it to say &amp;#39;All occurrences of variable = &amp;#39;. I went to the expression to see how you did that.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I didn&amp;#39;t mention in my 1st post that the repeating table is a secondary data source. It automatically retrieves the data when the form is opened. I have my expression in my button correct to say &amp;quot;All occurrences of Completed = no&amp;quot;. The problem I&amp;#39;m having is that&amp;nbsp;the button&amp;nbsp;doesn&amp;#39;t show up Disabled at first until I check all of the check boxes then uncheck them all. Then it starts to work how I want it.&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;</description></item><item><title>Re: Problem disabling button used with Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/65951.aspx</link><pubDate>Fri, 15 Apr 2011 12:09:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65951</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65951.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=65951</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;If I understood correctly, the solution is fairly simple. I&amp;#39;m attaching a sample. Let us know if that&amp;#39;s what you were seeking.&lt;/p&gt;&lt;p&gt;Cheers. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Problem disabling button used with Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/65938.aspx</link><pubDate>Thu, 14 Apr 2011 18:54:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65938</guid><dc:creator>g21cincy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65938.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=65938</wfw:commentRss><description>&lt;p&gt;I have a repeating table that has a column named Complete and in that column are checkboxes to say if that row has been completed(checked) or not completed(not checked). Under the repeating table I have a button labeled Complete. What I want is to have the &amp;#39;Complete&amp;#39; button to&amp;nbsp;be disabled if none of the check boxes are checked. If someone clicks one of the checks boxes the&amp;nbsp;button&amp;nbsp;would become enabled. Of course if somoene unchecks all of the check boxes the &amp;#39;Complete&amp;#39; button would go back to disabled. Any help with this would be greatly appreciated.&lt;/p&gt;</description></item></channel></rss>