<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Password Boxes in Registration Form</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Password Boxes in Registration Form</description>
  <pubDate>Thu, 16 Apr 2026 17:01:19 -700</pubDate>
  <lastBuildDate>Wed, 06 Apr 2011 12:12:25 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2600</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Password Boxes in Registration Form :   Great thanks, that works.Greg...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2600&amp;PID=10401#10401</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=579" rel="nofollow">gregweb</a><br /><strong>Subject:</strong> 2600<br /><strong>Posted:</strong> 06-Apr-2011 at 12:12pm<br /><br />Great thanks, that works.<div>&nbsp;</div><div>Greg</div>]]>
   </description>
   <pubDate>Wed, 06 Apr 2011 12:12:25 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2600&amp;PID=10401#10401</guid>
  </item> 
  <item>
   <title>Password Boxes in Registration Form : Greg,The template lacks the logic...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2600&amp;PID=10375#10375</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1097" rel="nofollow">robertg</a><br /><strong>Subject:</strong> 2600<br /><strong>Posted:</strong> 04-Apr-2011 at 3:13pm<br /><br />Greg,<br><br>The template lacks the logic to clear errors when there are two triggers for a given validation test. You should be able to resolve this by making the two following changes to your <i>VerifiableObject </i>class:<br><br>Add this method:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public void RemoveError(VerifierResult result)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ValidationErrors.Remove(result);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GetPropertyNames(result).ForEach(OnErrorsChanged);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>Replace <i>ClearErrors(string propertyName)</i> with:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private bool ClearErrors(string propertyName)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var remove = ValidationErrors.Where(vr =&gt; GetPropertyNames(vr).Contains(propertyName)).ToList();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; remove.ForEach(r =&gt; RemoveError(r));<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return remove.Count &gt; 0;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>]]>
   </description>
   <pubDate>Mon, 04 Apr 2011 15:13:35 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2600&amp;PID=10375#10375</guid>
  </item> 
  <item>
   <title>Password Boxes in Registration Form : Thanks Robert.  Greg </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2600&amp;PID=10362#10362</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=579" rel="nofollow">gregweb</a><br /><strong>Subject:</strong> 2600<br /><strong>Posted:</strong> 01-Apr-2011 at 12:43pm<br /><br />Thanks Robert.<DIV>&nbsp;</DIV><DIV>Greg</DIV>]]>
   </description>
   <pubDate>Fri, 01 Apr 2011 12:43:03 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2600&amp;PID=10362#10362</guid>
  </item> 
  <item>
   <title>Password Boxes in Registration Form : Greg, I see what you&amp;#039;re talking...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2600&amp;PID=10356#10356</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1097" rel="nofollow">robertg</a><br /><strong>Subject:</strong> 2600<br /><strong>Posted:</strong> 01-Apr-2011 at 9:47am<br /><br />Greg, <br><br>I see what you're talking about, and will look into it. The template may need some additional code in order to clear the error condition from both boxes. I'll update you when I've got it resolved.<br><br>--Robert<br>]]>
   </description>
   <pubDate>Fri, 01 Apr 2011 09:47:11 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2600&amp;PID=10356#10356</guid>
  </item> 
  <item>
   <title>Password Boxes in Registration Form : I am using the DevForce Biz App...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2600&amp;PID=10350#10350</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=579" rel="nofollow">gregweb</a><br /><strong>Subject:</strong> 2600<br /><strong>Posted:</strong> 31-Mar-2011 at 4:41pm<br /><br />I am using the DevForce Biz App template to create a new project.<DIV>&nbsp;</DIV><DIV>I enter a connection string to a ASPNETDB.</DIV><DIV>&nbsp;</DIV><DIV>I then run the app, click the register button and try to register.</DIV><DIV>&nbsp;</DIV><DIV>If the two passwords match the first time, all is fine.&nbsp; However, if they do not match, the top password box stays red even when the two passwords do match.&nbsp; The second password&nbsp;box does change back to normal status.&nbsp; The only way to resolve is to close the registration form and get it right the first time.&nbsp; I looked at the code that does the verification, but I couldn't resolve what the issue is.</DIV><DIV>&nbsp;</DIV><DIV>Greg</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 31 Mar 2011 16:41:20 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2600&amp;PID=10350#10350</guid>
  </item> 
 </channel>
</rss>