Copied to clipboard

Flag this post as spam?

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


  • Kevon K. Hayes 255 posts 281 karma points
    Aug 29, 2010 @ 23:23
    Kevon K. Hayes
    0

    Char Limit Package Doesn't Respect 'Mandatory' Property

    UMB 4.5.1 | SVR 2008 STD
    I'm using the simple but cool char limit package that Tim Geyssens developed.  Works great except for one thing, when I checked the mandatory option for my property that's using the char limit,  I was still able to publish my document without the expect prompts.  I'm just wondering what can I do to make this package work with the mandatory field in UMB.  Is there an interface I can implement to gain the desired behavior.

    Please advise procedure. (This functionality is a must for my layout purposes)

  • Andreas Pfanner 196 posts 314 karma points
    Jan 20, 2011 @ 12:33
    Andreas Pfanner
    0

    I am also very interested in getting the Char Limit Datatype respecting the Mandatory setting.
    Anyone??

  • Kevon K. Hayes 255 posts 281 karma points
    Jan 23, 2011 @ 14:38
    Kevon K. Hayes
    0

    C'mon my Umbraco Umbre's... someone has to know how to do this.

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Jan 23, 2011 @ 15:19
    Jeroen Breuer
    1

    You probably need to modify the souce code of the char limit package for this. Read more about it here: http://our.umbraco.org/forum/developers/extending-umbraco/14157-Make-custom-datatype-mandatory.

    Jeroen

  • Kevon K. Hayes 255 posts 281 karma points
    Jan 23, 2011 @ 15:44
    Kevon K. Hayes
    0

    Thanks for the intel it looks like this method isn't stable yet.

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Jan 23, 2011 @ 16:26
    Jeroen Breuer
    0

    It should be in Umbraco 4.6 JUNO.

    Jeroen

  • Kevon K. Hayes 255 posts 281 karma points
    Jan 23, 2011 @ 17:33
    Kevon K. Hayes
    0

    @Jeroen I reviewed the link above and saw that there was a bug fix request put in on Codeplex for it. So in time we'll see.

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Jan 24, 2011 @ 09:24
    Jeroen Breuer
    0

    The bug fix request on Codeplex is already fixed: http://umbraco.codeplex.com/workitem/29681. If you update the Char limit package to support the [ValidationProperty("Text")] attribute it should work in JUNO :).

    Jeroen

  • Greg Berlin 818 posts 634 karma points
    Oct 12, 2012 @ 23:50
    Greg Berlin
    0

    So this still doesn't work in v4.9 ... is there a way to fix this?  Via a package installer would be nice :)

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Oct 15, 2012 @ 09:36
    Jeroen Breuer
    1

    uComponents also has a char limit datatype. Perhaps that one already supports it?

    Jeroen

  • Greg Berlin 818 posts 634 karma points
    Oct 15, 2012 @ 21:31
    Greg Berlin
    0

    ah yeah... except it's a bit hacky to get uComponents working on Umbraco 4.9.. i might just wait till they release a version that doesn't require hacking of source code.  Thanks for the heads up though :)

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Oct 15, 2012 @ 21:41
    Jeroen Breuer
    0

    uComponents 5.0 should work perfectly on 4.8 and 4.9 :-) http://ucomponents.codeplex.com/releases/view/88341

    Jeroen

  • Greg Berlin 818 posts 634 karma points
    Oct 15, 2012 @ 21:46
    Greg Berlin
    0

    Ah cool.. thanks i'll give it a go

  • Greg Berlin 818 posts 634 karma points
    Oct 22, 2012 @ 04:23
    Greg Berlin
    0

    uComponents Character limit datatype solved this problem :)

Please Sign in or register to post replies

Write your reply to:

Draft