You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+19-10Lines changed: 19 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,30 +2,31 @@
2
2
3
3
WELCOME TO THE COLDBOX VALIDATION MODULE
4
4
========================================
5
-
ColdBox sports its own server side validation engine so it can provide you with a unified approach to objectand form validation.
5
+
This module is a server side rules validation engine that can provide you with a unified approach to object, struct and form validation. You can construct validation constraint rules and then tell the engine to validate them accordingly.
Just drop into your **modules** folder or use the box-cli to install
22
+
Just drop into your **modules** folder or use CommandBox to install:
23
23
24
24
`box install cbvalidation`
25
25
26
-
The module will register several objects into WireBox using the `@cbvalidation` namespace. The validation manager is registered as `ValidationManager@cbvalidation`
26
+
The module will register several objects into WireBox using the `@cbvalidation` namespace. The validation manager is registered as `ValidationManager@cbvalidation`. It will also register several helper methods that can be used throughout the ColdBox application.
27
27
28
28
## Mixins
29
+
29
30
The module will also register two methods in your handlers/interceptors/layouts/views
30
31
31
32
```js
@@ -36,6 +37,7 @@ The module will also register two methods in your handlers/interceptors/layouts/
36
37
* @constraints A structure of constraint rules or the name of the shared constraint rules to use for validation
37
38
* @locale The i18n locale to use for validation messages
38
39
* @excludeFields The fields to exclude in the validation
40
+
* @includeFields The fields to include ONLY in the validation
0 commit comments