FileSizeMinΒΆ
Checks if the size of an uploaded file is at least the configured value.
Example Code:
validators {
DefaultValidator {
model = DefaultValidator
config {
fields {
image.errorChecks {
fileSizeMin {
model = FileSizeMin
fileSizeMin = 1048576
}
}
}
}
}
}
Properties
fileSizeMin |
Sets the min size a uploaded file must be. (in Byte) |
Mandatory |
False |
Data Type |
False|Integer |
Default |
False |