This object should be returned by the onPreUpload callback in the UploadWidgetConfig.
{}
{ "errorMessage": "Uh oh! This file failed our custom validation."}
Validation error to display to the user for this file.
The file will not be uploaded if a value is returned for this field.
Example: "Uh oh! This file failed our custom validation."
Type: String
An alternative file to upload instead of the original file.
This website uses cookies. By continuing you are consenting to the use of cookies per our Cookie Policy. Our legal policies were last updated August 16 2024.
This website requires a modern web browser -- the latest versions of these browsers are supported: