Tag Archives: validation

Add text to asp:ValidationSummary (C#)

This trick is especially useful when you have custom code to be executed after your form have been submitted, and still wishes to communicate an error the same way as you communicate form validation errors. Imagine the following ValidationSummary: Any … Continue reading

Posted in c#, General .NET | Tagged , , , | 1 Comment

Validate CheckBoxList using a CustomValidator

In this article I explain how you can validate that at least one checkbox is checked in an asp:CheckBoxList using an asp:CustomValidator, and how to make it work server side and client side. None of the built in .net validators … Continue reading

Posted in .net, c#, General .NET | Tagged , , , , , , , , | 6 Comments

Using Sitecore Field Validators

The Sitecore field validators is a set of user-input validators that can be applied to either an item, a specific field type or a specific field on a specific item. Sitecore comes standard with a set of validators, including broken links … Continue reading

Posted in .net, Sitecore 6 | Tagged , , , , | 10 Comments