Working With Validation
Visual Studio 2013
| Intermediate
- 7 videos | 1h 9m 22s
- Earns a Badge
Learn how to implement custom data validation rules on the client and server, use Breeze validation, gather Breeze entity errors, parse Breeze entity error messages on the client, and display validation errors in a JavaScript SPA.
WHAT YOU WILL LEARN
-
Define a custom validation ruleUse the breeze validator.register() method to register custom validation rules with breezeApply a validator to entities and propertiesAdd data annotations such as required fields and max length
-
Create a view for displaying input validation errors on text input controlsUse the errors.entitieswitherrors.map() function and the entity.entityaspect.getvalidationerrors() methodUse a regular expression to parse the returned error object
IN THIS COURSE
-
9m 11sIn this video, you will learn how to create a custom validation rule. FREE ACCESS
-
9m 8sDuring this video, you will learn how to use the Breeze Validator.register() method to register custom validation rules with Breeze. FREE ACCESS
-
9m 54sIn this video, you will learn how to apply a validator to entities and properties. FREE ACCESS
-
10m 17sLearn how to add data annotations such as required fields and maximum length. FREE ACCESS
-
9m 46sIn this video, you will create a view for displaying input validation errors on text input controls. FREE ACCESS
-
9m 55sIn this video, learn how to use the map() function on the errors.entitiesWithErrors array and the getValidationErrors() method on the entity.entityAspect object. FREE ACCESS
-
11m 11sLearn how to use a regular expression to parse the error object that is returned. FREE ACCESS
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.