It should be possible to make some custom validation. But I think you'll need to...ehm overload the method or something like that...I've been modifying it myself about a year ago...
I've been searching the forum to see if I can find the post I made back then. If I remember correctly Dirk De Grave gave pretty good answer back then.
Maybe the posts done by Dirk as answers to my questions in this post http://our.umbraco.org/forum/using/ui-questions/5096-Media-folder-name can help you in the right direction? I'm aware that you're not trying to create a folder but want to add validation. But I think that the path the achieve the goal could be to make your own implementation of the upload datatype...if that makes sense?
Thanks for the reply. I've read the forum but somehow I'm still confused how to start it.
Actually now, instead of the upload control, i'll stick with the media picker control but then I also need to extend it by adding custom validation before the save function.
Extend the upload data type
Hello,
Is it possible to extend the upload data type and just add custom validation?
Hi Sherry
It should be possible to make some custom validation. But I think you'll need to...ehm overload the method or something like that...I've been modifying it myself about a year ago...
I've been searching the forum to see if I can find the post I made back then. If I remember correctly Dirk De Grave gave pretty good answer back then.
I'll keep you posted.
/Jan
Hi Sherry
Maybe the posts done by Dirk as answers to my questions in this post http://our.umbraco.org/forum/using/ui-questions/5096-Media-folder-name can help you in the right direction? I'm aware that you're not trying to create a folder but want to add validation. But I think that the path the achieve the goal could be to make your own implementation of the upload datatype...if that makes sense?
/Jan
Hi Jan,
Thanks for the reply. I've read the forum but somehow I'm still confused how to start it.
Actually now, instead of the upload control, i'll stick with the media picker control but then I also need to extend it by adding custom validation before the save function.
is working on a reply...