FileRequiredΒΆ

Checks if a file has been uploaded from this field..

Example Code:

validators {
  DefaultValidator {
    model = DefaultValidator
    config {
      fields {
        image.errorChecks {
          fileRequired {
            model = FileRequired
          }
        }
      }
    }
  }
}