This blog will show you how to setup your Textboxes on a Sitefinity form with input validation. If you've been working with previous versions of Sitefinithy the first question you may have is "wait a minute, Sitefinity has built-in forms?". Yes, Sitefinity 4.0 includes a new Form Builder, which allows you to create form modules that can be shared in multiple pages of your website.  They are very simple to setup and once you have created a form, you just drop a form control on a page and point it to your form. In addition, Sitefinity will automatically persist ...

 

If you aren’t familiar with it, the ValidationSummary control in Silverlight automatically shows validation exceptions for any controls within its same container element.  That means if you add it to a grid or StackPanel that is full of bound controls, it will capture any validation exceptions from those bindings.  It also gives you all kinds of useful functionality, like taking you to the invalid control when clicking on an item, and even removing the message when the input is corrected.

For example, these two textboxes are bound to FirstName and MiddleInitial properties, and MiddleInitial is required to be a ...