<?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: Template Part Losing Rule Names</title><link>https://www.infopathdev.com:443/forums/thread/90766.aspx</link><pubDate>Tue, 18 Jun 2013 11:56:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90766</guid><dc:creator>MariS</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90766.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=90766</wfw:commentRss><description>I&amp;#39;m having the same problem. I&amp;#39;m using InfoPath 2010 and making webcompatible template parts and putting them into a XML-InfoPath webcompatible form template.

It is only the validation rules that loose their names, and it is very frustrating.

I thought for a moment that it was happening because I had the same rule name for several fields, or because my rule was in a section, or because I had more than one rule on a single field, but it happens every time.

Is this a bug or am I getting at this the wrong way? 

I suppose an alternative way is to save a C#-codefile as text somewhere and define the common validations there instead of in the template parts. Is there an easier way? (Sadly, template parts do not support using code directly).

Any suggestions?</description></item><item><title>Template Part Losing Rule Names</title><link>https://www.infopathdev.com:443/forums/thread/85922.aspx</link><pubDate>Thu, 10 Jan 2013 02:09:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85922</guid><dc:creator>Cassie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85922.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=85922</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When I create a template part with rules, I give each rule a meaningful name in the &amp;quot;Details for&amp;quot; field.&lt;br /&gt;After I add the template part to my form (add it as a custom control), all my rules of type &amp;quot;Validation&amp;quot; are renamed back to &amp;quot;Rule 1&amp;quot;.&lt;br /&gt;The &amp;quot;Formatting&amp;quot; and &amp;quot;Action&amp;quot; rules&amp;nbsp;all keep their names. 
&lt;p&gt;Is this a normal part of InfoPath or am I doing something wrong?&lt;/p&gt;
&lt;p&gt;I tested this with a blank form and a template part that contained 3 rules - one of each type.&lt;br /&gt;I actually have a template part that contains 25 validation rules&amp;nbsp;that needs to go onto 10 forms - I don&amp;#39;t want to have to rename 250 rules on these forms.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>