RBManagedFormValidationRuleType Constants Reference
Declared in | RBManagedFormValidationRuleSchema.h |
---|
RBManagedFormValidationRuleType
The type of a validation rule.
Definition
typedef NS_ENUM(NSInteger, RBManagedFormValidationRuleType ) {
RBManagedFormValidationRuleTypeNone,
RBManagedFormValidationRuleTypeNotEmpty,
RBManagedFormValidationRuleTypeRegex,
RBManagedFormValidationRuleTypeNumericRange,
RBManagedFormValidationRuleTypeNumericMin,
RBManagedFormValidationRuleTypeNumericMax,
RBManagedFormValidationRuleTypeImageSizeRange,
RBManagedFormValidationRuleTypeImageSizeMin,
RBManagedFormValidationRuleTypeImageSizeMax,
RBManagedFormValidationRuleTypeImageRatio,
RBManagedFormValidationRuleTypeStringLengthRange,
RBManagedFormValidationRuleTypeStringLengthMin,
RBManagedFormValidationRuleTypeStringLengthMax,
RBManagedFormValidationRuleTypeArraySizeRange,
RBManagedFormValidationRuleTypeArraySizeMin,
RBManagedFormValidationRuleTypeArraySizeMax,
};
Constants
RBManagedFormValidationRuleTypeNone
-
Performs no validation.
Declared In
RBManagedFormValidationRuleSchema.h
. RBManagedFormValidationRuleTypeNotEmpty
-
Ensures that the field value is not empty. For strings this will check length > 0.
Declared In
RBManagedFormValidationRuleSchema.h
. RBManagedFormValidationRuleTypeRegex
-
Ensures that the field value matches a regular expression.
Declared In
RBManagedFormValidationRuleSchema.h
. RBManagedFormValidationRuleTypeNumericRange
-
Ensures that the field value is within a range.
Declared In
RBManagedFormValidationRuleSchema.h
. RBManagedFormValidationRuleTypeNumericMin
-
Ensures that the field value is not below a minimum value.
Declared In
RBManagedFormValidationRuleSchema.h
. RBManagedFormValidationRuleTypeNumericMax
-
Ensures that the field value is not above a maximum value.
Declared In
RBManagedFormValidationRuleSchema.h
. RBManagedFormValidationRuleTypeImageSizeRange
-
Ensures that the field value image size is within a range.
Declared In
RBManagedFormValidationRuleSchema.h
. RBManagedFormValidationRuleTypeImageSizeMin
-
Ensures that the field value image size is not below a minimum size.
Declared In
RBManagedFormValidationRuleSchema.h
. RBManagedFormValidationRuleTypeImageSizeMax
-
Ensures that the field value image size is not above a maximum size.
Declared In
RBManagedFormValidationRuleSchema.h
. RBManagedFormValidationRuleTypeImageRatio
-
Ensures that the field value image size has a given aspect ratio.
Declared In
RBManagedFormValidationRuleSchema.h
. RBManagedFormValidationRuleTypeStringLengthRange
-
Ensures that the field value string length is within a range.
Declared In
RBManagedFormValidationRuleSchema.h
. RBManagedFormValidationRuleTypeStringLengthMin
-
Ensures that the field value string length is not below a given minimum.
Declared In
RBManagedFormValidationRuleSchema.h
. RBManagedFormValidationRuleTypeStringLengthMax
-
Ensures that the field value string length is not above a given maximum.
Declared In
RBManagedFormValidationRuleSchema.h
. RBManagedFormValidationRuleTypeArraySizeRange
-
Ensures that the field value array size is within a range.
Declared In
RBManagedFormValidationRuleSchema.h
. RBManagedFormValidationRuleTypeArraySizeMin
-
Ensures that the field value array size is not below a minimum size.
Declared In
RBManagedFormValidationRuleSchema.h
. RBManagedFormValidationRuleTypeArraySizeMax
-
Ensures that the field value array size is not above a maximum size.
Declared In
RBManagedFormValidationRuleSchema.h
.
Declared In
RBManagedFormValidationRuleSchema.h