Home / ASP.NET Wiki / HTML / Web Controls / Validation Controls / RequiredFieldValidator

RequiredFieldValidator

 Rate It (0)

The RequiredFieldValidator control is used to ensures that a input field is not skipped in the entry. The control fails validation if the value it contains does not change from its initial value when validation is performed. If all the fields in the page are valid, the page is valid.

White papers/Blogs

 

Revision number 3, Wednesday, February 20, 2008 4:50:03 AM by haidar_bilal

Comments

The attached article doesn't cover the InitialValue property at all.. which is a pretty important feature of the required field validator control. Especially when used with dropdown controls.

That's the beauty of the wiki. When you notice something important missing from an article, you can add it.

Related Articles

customvalidator

The customvalidator control allows writing custom validation for a control. So, if the others validators: RangeValidator, RequiredFieldValidator, RegularExpressionValidator, CompareValidator, is not useful for a specific validation, it is possible to write

Web Controls

Web controls are ASP.NET controls which are understood and compiled on the server and render as HTML markup on the page. Most of the web server controls render their own HTML controls (or many HTML controls). The markup that is output froma web control can

Validation Controls

ASP.NET Validation Controls are powerful server controlsthat areused for validating user input. These controls provides both server side and client side validation. The client side validation featurescan be used to give your users an improved UI experience

Shortcuts

Table of Contents

Top Wiki Contributors

(last 30 days)

  1. abiruban (1)