layout | class | title | description | menu_title | menu | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
documentation |
page-docs |
Reference: Schema Validation Types - System Documentation - Cradle |
Documentation of system schema validation types. |
Validation Types |
|
- 2.B.1. Required
- 2.B.2. Not Empty
- 2.B.3. Not Equal
- 2.B.4. Valid Option
- 2.B.5. Characters Less Than
- 2.B.6. Characters Less Than Equal
- 2.B.7. Characters Greater Than
- 2.B.8. Characters Greater Than Equal
- 2.B.9. Words Less Than
- 2.B.10. Words Less Than Equal
- 2.B.11. Words Greater Than
- 2.B.12. Words Greater Than Equal
- 2.B.13. Valid Number
- 2.B.14. Valid Float
- 2.B.15. Valid Price
- 2.B.16. Less Than
- 2.B.17. Less Than Equal
- 2.B.18. Greater Than
- 2.B.19. Greater Than Equal
- 2.B.20. Valid Date
- 2.B.21. Valid Time
- 2.B.22. Valid Date Time
- 2.B.23. Valid Email
- 2.B.24. Valid Credit Card
- 2.B.25. Valid Expression
Validation occurs when a user submits a form generated by a schema.
Cradle provides the all kinds of of validation methods. If you can't find the validation you need, you can create custom validations with a Validation Expression.
Requires the field to have a value.
If there is a value set, it cannot be empty.
Explicitly the field should not equal to the given value.
The field value should be one of these options. Works great with the select field
The number of characters in the field should be less than the given number.
The number of characters in the field should be less than or equal to the given number.
The number of characters in the field should be greater than the given number.
The number of characters in the field should be greater than or equal to the given number.
The number of words in the field should be less than the given number.
The number of words in the field should be less than or equal to the given number.
The number of words in the field should be greater than the given number.
The number of words in the field should be greater than or equal to the given number.
The field should contain a valid number (integer or float).
The field should be a valid float (or decimal ie. 0.224).
The field should have a valid price format (integer with 2 decimal places. ie. 456.12).
Field should be less than the given number.
Field should be less than or equal to the given number.
Field should be greater than the given number.
Field should be greater than or equal to the given number.
Field should have a valid SQL date format (YYYY-MM-DD).
Field should have a valid SQL time format (HH:mm:ss).
Field should have a valid SQL date/time format (YYYY-MM-DD HH:mm:ss).
Field should have a valid email address format.
Field should have a valid credit card format.