Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Using Umbraco cloud there is a resrtiction on filename length if you want to restore content between environments.
What is the best way to add validation to the file upload, so that editors can't upload invalid filenames? I have looked at hooking up to the Media Saving event, but this occurs after the file has already been uploaded.
I think you can do front-end validation. Example code here:-
This should work for you. Please share your views.
Thanks for your reply. We are using both the FileUpload and ImageCropper property editors in our project to upload media. So I think the correct approach is to create custom versions of both with additional validation including the front-end validation in your suggestion.
If you can think of a more straight forward solution, please share.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted