Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sherry Ann Hernandez 320 posts 344 karma points
    Jan 22, 2011 @ 10:36
    Sherry Ann Hernandez
    0

    Extend the upload data type

    Hello,

    Is it possible to extend the upload data type and just add custom validation?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 23, 2011 @ 18:35
    Jan Skovgaard
    0

    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

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 23, 2011 @ 18:40
    Jan Skovgaard
    0

    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

  • Sherry Ann Hernandez 320 posts 344 karma points
    Jan 25, 2011 @ 08:36
    Sherry Ann Hernandez
    0

    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.

     

Please Sign in or register to post replies

Write your reply to:

Draft