<?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: Validation on Fields in Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/66013.aspx</link><pubDate>Tue, 19 Apr 2011 17:25:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66013</guid><dc:creator>bblanke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66013.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=66013</wfw:commentRss><description>Still haven&amp;#39;t been able to solve this on my own yet, does anyone else have any ideas to help me?</description></item><item><title>Validation on Fields in Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/65879.aspx</link><pubDate>Tue, 12 Apr 2011 14:56:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65879</guid><dc:creator>bblanke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65879.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=65879</wfw:commentRss><description>I have a validating event on a field in a repeating table. However, when you change the value for that field in a different row the validation only applies to the last field that was changed.&lt;p /&gt;
&lt;br /&gt;
        public void cfname_Validating(object sender, XmlValidatingEventArgs e)&lt;br /&gt;
        {&lt;br /&gt;
            if (!Regex.IsMatch(e.NewValue, &amp;quot;[0-9A-Z]{8}.[A-Z]{3}&amp;quot;) &amp;amp; GVar.stype == &amp;quot;File Conversion&amp;quot;)&lt;br /&gt;
                e.ReportError(e.Site, true, &amp;quot;Invalid Filename Value&amp;quot;);&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
How do I get it so that the validation shows for all rows?&lt;br /&gt;
&lt;br /&gt;
I&amp;#39;d prefer to do this through code as it&amp;#39;s easier to maintain than the data validation in the gui.&lt;br /&gt;</description></item></channel></rss>