<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: FormError MoveToParent() and disappeared asterisks</title><link>https://www.infopathdev.com:443/forums/thread/86179.aspx</link><pubDate>Fri, 18 Jan 2013 07:35:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86179</guid><dc:creator>MatiasK</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86179.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=86179</wfw:commentRss><description>Has anyone tried to reproduce this issue?</description></item><item><title>FormError MoveToParent() and disappeared asterisks</title><link>https://www.infopathdev.com:443/forums/thread/85788.aspx</link><pubDate>Fri, 04 Jan 2013 13:52:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85788</guid><dc:creator>MatiasK</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85788.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=85788</wfw:commentRss><description>&lt;p&gt;Hello all! This is my first post and I&amp;#39;m newbie with InfoPath but I&amp;#39;m learning new things&amp;nbsp;all the time. =)&lt;/p&gt;&lt;p&gt;I have following problem:&lt;br /&gt;I&amp;#39;m attempting to get error count inside group3. Group3 contains group1 with 2 textboxes and group2 with 2 textboxes. Code works just fine with InfoPath filler but when I publish it to SharePoint, and run form in browser it disables/hides all asterisk characters at form.&lt;/p&gt;&lt;p&gt;Here is the code:&lt;/p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;p&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;XPathNavigator&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; group = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.CreateNavigator().SelectSingleNode(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;/my:MyFields/my:group3&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, NamespaceManager);&lt;br /&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;XPathNavigator&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; errorParent;&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;int&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; error_count = 0;&lt;br /&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;FormError&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;[] systemErrors;&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;p&gt;            systemErrors =&lt;/p&gt;&lt;/font&gt;&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.Errors.GetErrors(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;FormErrorType&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.SystemGenerated);&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;

&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;foreach&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; (&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;FormError&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; err &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;in&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; systemErrors)&lt;br /&gt;&lt;/font&gt;&lt;font size="2"&gt;{&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;p&gt;                errorParent = err.Site;&lt;/p&gt;&lt;/font&gt;&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;while&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; (errorParent.MoveToParent())&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;p&gt;                {&lt;/p&gt;&lt;/font&gt;&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;if&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; (errorParent.Name.Equals(group.Name))&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;p&gt;                    {&lt;/p&gt;&lt;p&gt;                        error_count++;&lt;/p&gt;&lt;p&gt;                    }&lt;/p&gt;&lt;p&gt;                }&lt;/p&gt;&lt;p&gt;            }&lt;/p&gt;&lt;/font&gt;</description></item></channel></rss>