<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Problems with repeating table validation</title><link>https://www.infopathdev.com:443/forums/thread/24981.aspx</link><pubDate>Fri, 07 Dec 2007 03:47:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24981</guid><dc:creator>10basetom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24981.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24981</wfw:commentRss><description>Hello,&lt;br /&gt;&lt;br /&gt;

I found an elegant solution: edit the XML schema to set the &amp;#39;minOccurs&amp;#39; attribute to 1. This article explains how to modify the schema:&lt;br /&gt;&lt;br /&gt;

http://support.microsoft.com/kb/827006&lt;br /&gt;&lt;br /&gt;

Cheers,&lt;br /&gt;
Tom</description></item><item><title>Re: Problems with repeating table validation</title><link>https://www.infopathdev.com:443/forums/thread/24497.aspx</link><pubDate>Fri, 16 Nov 2007 11:41:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24497</guid><dc:creator>adamrharding</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24497.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24497</wfw:commentRss><description>&lt;p&gt;Hi Tom&lt;/p&gt;
&lt;p&gt;I have achieved both of these with a workaround that is not elegant but works a treat.&lt;/p&gt;
&lt;p&gt;1) Set a field outside the repating bit that COUNT(s) the first field on the row and set it to fail is COUNT = 0&lt;/p&gt;
&lt;p&gt;2) Set a rule on the first field in the repeating table that set another field in the repeating table to 1 if not blank.&amp;nbsp; Add another field outside of the table that SUMS the field set to 1.&amp;nbsp; Then add a third field to take the SUM from the COUNT.&amp;nbsp; Then validate that field to fail if field is greater than 1.&lt;/p&gt;
&lt;p&gt;Job done&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;</description></item><item><title>Problems with repeating table validation</title><link>https://www.infopathdev.com:443/forums/thread/24489.aspx</link><pubDate>Fri, 16 Nov 2007 04:12:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24489</guid><dc:creator>10basetom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24489.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24489</wfw:commentRss><description>Hello,&lt;br /&gt;&lt;br /&gt;

InfoPath could be a little more intutive. For example, I have a simple repeating table, but can&amp;#39;t figure out how to set up validation so that (1) the user cannot remove all the rows, and (2) the user cannot insert a new row if the current row is empty.&lt;br /&gt;&lt;br /&gt;

I expected to be able to go into &amp;quot;Repeating Table&amp;quot; properties and set up data validation just like for a text box, but I only see a button for Rules, which didn&amp;#39;t do what I wanted to do (prevent the user from removing the current row if row count = 1, or adding a new row when the current row is not filled out). Please advise.&lt;br /&gt;&lt;br /&gt;

Thanks,&lt;br /&gt;
Tom</description></item></channel></rss>