Difference between revisions of "LMD 2007 - Validator Controls"
From LMD
Line 1: | Line 1: | ||
{{Head-StartRes}} | {{Head-StartRes}} | ||
− | LMD Validator | + | The LMD Validator framework introduces a set of components which allow implementation of professional-level client-side validation in an elegant and simple way without writing much code (often without any code at all). |
The two main tasks of client-side validation are: | The two main tasks of client-side validation are: | ||
− | |||
* to check for validity a value entered by a user into some input control; | * to check for validity a value entered by a user into some input control; | ||
* to provide feedback about validation results (e.g. to indicate an error) in some way. | * to provide feedback about validation results (e.g. to indicate an error) in some way. | ||
+ | |||
Consequently, there are three types of components involved into the most typical validation setup : | Consequently, there are three types of components involved into the most typical validation setup : | ||
− | |||
* input control being validated; | * input control being validated; | ||
* validator component which encapsulates some validation logic; | * validator component which encapsulates some validation logic; |
Latest revision as of 19:14, 20 September 2007
<< Back to Getting started or Product Resources page
The LMD Validator framework introduces a set of components which allow implementation of professional-level client-side validation in an elegant and simple way without writing much code (often without any code at all).
The two main tasks of client-side validation are:
- to check for validity a value entered by a user into some input control;
- to provide feedback about validation results (e.g. to indicate an error) in some way.
Consequently, there are three types of components involved into the most typical validation setup :
- input control being validated;
- validator component which encapsulates some validation logic;
- error provider component which implements some way of error indication.
Check LMD Validator Tutorial for an introduction into this interesting technique.