Validator feedback issues

2 posts, 0 answers
  1. Craig
    Craig avatar
    6 posts
    Member since:
    May 2016

    Posted 06 Oct 2017 Link to this post


    I have some Validators defined as follows.  I want to supply negativeFeedback when validation fails, but nothing for positiveFeedback (i.e. null or "").  The problem I have is that once negative feedback appears, it won't go away.  I am forced to supply positiveFeedback such as "OK" to make it disappear.  I'm left with the editor turning green and "OK" appearing.  Devices are only so big, so I don't want to waste valuable real estate and clutter up the screen with "OK" messages.  It reminds me of The Simpsons episode where Homer invents the "Everything is okay alarm".  It just goes off all the time, except for when there's an emergency.

    [DisplayOptions(PlaceholderText = "Bank Code", Header = "Bank Code")]
    [RegularExpressionValidator(@"^\d{2}$", "Bank code must be 2 digits long")]
    public string BankCode { get; set; }

    [DisplayOptions(PlaceholderText = "Branch Code", Header = "Branch Code")]
    [NonEmptyValidator("Please supply Branch Code")]
    public string BranchCode { get; set; }


    [DisplayOptions(PlaceholderText = "Account Number", Header = "Account Number")]
    [StringLengthValidator(7, 7, "Account Number must be 7 digits long")]
    public string AccountNumber { get; set; }



  2. Stefan Nenchev
    Stefan Nenchev avatar
    605 posts

    Posted 11 Oct 2017 Link to this post

    Hi, Craig,

    The functionality is already logged as a bug in our internal system and you can track its progress on the following link from our Feedback portal - DataForm [Android]: If "positive message" is not provided "error message" is shown when the editor is in a valid state. Unfortunately, there is no easy workaround that we can suggest at the moment so showing a positive feedback is the only workaround you can use until we come up with a fix. I have increased the priority of the bug report at our end as per your report.

    Have a great rest of the week, Craig.

    Stefan Nenchev
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top