<?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: Custom Submit button disabled based on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/67583.aspx</link><pubDate>Mon, 20 Jun 2011 18:35:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67583</guid><dc:creator>tafavorite</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67583.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=67583</wfw:commentRss><description>&lt;p&gt;Thank you for your help. this was what I was looking for, just did not know how to accomplish it. Again, Thank you!&lt;/p&gt;</description></item><item><title>Re: Custom Submit button disabled based on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/67509.aspx</link><pubDate>Sun, 19 Jun 2011 10:05:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67509</guid><dc:creator>Skarn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67509.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=67509</wfw:commentRss><description>&lt;p&gt;on the conditional formatting to hide of the button you will need some conditions.&lt;/p&gt;&lt;p&gt;repeating table is called my:repeatTable&lt;br /&gt;original/corrected field is called my:origOrCorr&lt;br /&gt;original hours is called my:origHours&lt;br /&gt;corrected hours is called my:corrHours&lt;/p&gt;&lt;p&gt;The conditions you want are expressions with OR logic.&lt;/p&gt;&lt;p&gt;count(//my:repeatTable[my:origOrCorr = &amp;#39;Original&amp;#39; and my:origHours = &amp;#39;&amp;#39;]) &amp;gt; 0&amp;nbsp;&amp;nbsp; OR&lt;br /&gt;count(//my:repeatTable[my:origOrCorr = &amp;#39;Corrected&amp;#39; and my:corrHours = &amp;#39;&amp;#39;]) &amp;gt;0&amp;nbsp; &lt;/p&gt;&lt;p&gt;This way, if there are any rows in the repeating table which satify your conditions then the button will be hidden.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Custom Submit button disabled based on Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/67413.aspx</link><pubDate>Thu, 16 Jun 2011 12:17:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67413</guid><dc:creator>tafavorite</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67413.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=67413</wfw:commentRss><description>&lt;p&gt;I could research this for hours or see if someone else has a solution already. What I have is a form that has a custom submit button that when clicked submits the form to a sharepoint link. The button is disabled until all required fields are filled in. When dealing with repeating tables though, it seems tricky to make this happen. I have a repeating table that has 5 columns. &lt;br /&gt;Pay Period Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Original/Corrected&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Code&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Description&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Original Hours&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Corrected Hours&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (dropdown of 2 values)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (required if Original slected)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (required if Corrected selected)&lt;/p&gt;
&lt;p&gt;There are two rows that they need to fill out on this. My biggest problem is getting the disable button to understand that it should disable if the following:&lt;/p&gt;
&lt;p&gt;If Original/Corrected = &amp;quot;Original&amp;quot; and Original Hours is &amp;quot;Blank&amp;quot;, disable&lt;br /&gt;If Original/Corrected = &amp;quot;Corrected&amp;quot; and Corrected Hours is &amp;quot;Blank&amp;quot;, disable.&lt;/p&gt;
&lt;p&gt;It works if the &amp;quot;DD&amp;quot; has Original selected or Corrected seleted. Once you create a new row and select the opposite selection, the disable rule is thinking that you need to enter the &amp;quot;HOUR&amp;quot; field.&lt;/p&gt;
&lt;p&gt;I would really appreciate some help on this. I have been stumped on this for some time now as I have another form that kind involves the same logic with a &lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;repeating &lt;/span&gt;table. Any help is appreciated, can attach a form if that might help more. Thanks in advance.&lt;/p&gt;</description></item></channel></rss>