<?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 : Validation</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : Community Forum : Validation</description>
  <pubDate>Fri, 10 Apr 2026 19:15:22 -700</pubDate>
  <lastBuildDate>Tue, 13 Nov 2012 09:57:15 -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=3787</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>Validation : As you&amp;#039;ve probably noticed,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3787&amp;PID=15187#15187</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1524" rel="nofollow">jtraband</a><br /><strong>Subject:</strong> 3787<br /><strong>Posted:</strong> 13-Nov-2012 at 9:57am<br /><br />As you've probably noticed,&nbsp; Breeze already performs validations based on metadata.&nbsp; Basic "validation" rules such as whether a property is required, it's datatype and it's length if a string are automatically generated on the server and sent down to the client.&nbsp; These validation rules can also be extended by directly modifying the "validation" metadata on the client.&nbsp; <br><br>More information on this topic is available both within the API documentation: <a href="http://www.breezejs.com/sites/all/apidocs/classes/Validator.html%20%20" target="_blank">http://www.breezejs.com/sites/all/apidocs/classes/Validator.html </a>as well as within the "DocCode" sample directory in the Breeze Samples download.<br><br>We are also planning on providing examples of how to "connect" breeze validation to various third party libraries, such as jQuery and Knockout.&nbsp; Unfortunately, these examples are not currently a high priority because of work on other highly requested features. You might want to vote for work on these examples on our <b>Breeze User Voice&nbsp;<a href="https://breezejs.uservoice.com/forums/173093-breeze-feature-suggesti&#111;ns" target="_blank">https://breezejs.uservoice.com/forums/173093-breeze-feature-suggestions</a></b>. We take that venue seriously in making decisions about what to do next.<div><br></div> ]]>
   </description>
   <pubDate>Tue, 13 Nov 2012 09:57:15 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3787&amp;PID=15187#15187</guid>
  </item> 
  <item>
   <title>Validation :   I&amp;#039;ve recently added Breeze...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3787&amp;PID=15165#15165</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1583" rel="nofollow">johnvarney</a><br /><strong>Subject:</strong> 3787<br /><strong>Posted:</strong> 09-Nov-2012 at 6:56am<br /><br />I've recently added Breeze to a project using Knockout and ASP.NET MVC4. I really like Breeze and it saves a lot of coding.<div>&nbsp;</div><div>I have used Knockout validation and like how it validates a property field text box on data entry and the way the error message is displayed.</div><div>&nbsp;</div><div>I would like to use a combination where the validation requirements are defined in the back-end with C# attributes on the object properties, the validation requirements are received in the metadata and then Knockout validation can be used.</div><div>&nbsp;</div><div>I think I can work around it by defining the properties in the front end and applying Knockout validation eg</div><div><span ="nx"></span>&nbsp;</div><div><span ="nx">classProperty</span><span ="p">.</span><span ="nx">extend</span><span ="p">({</span> <span ="nx">required</span><span ="o">:</span> <span ="kc">true</span> <span ="p">})</span><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span ="p">.</span><span ="nx">extend</span><span ="p">({</span> <span ="nx">minLength</span><span ="o">:</span> <span ="mi">3</span> <span ="p">});</span></div><p><span ="p">Is there a way to use Knockout validation without having to apply the validation requirements in the front-end? If not, are you considering doing this?</p><div>Thanks, </div><div>John</span></div><div><br></div>]]>
   </description>
   <pubDate>Fri, 09 Nov 2012 06:56:56 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3787&amp;PID=15165#15165</guid>
  </item> 
 </channel>
</rss>