This is all well and good but since version 7.1.9 of Umbraco this package no longer seems to work. I know that it's core dependencies are on version 7.1.6 and I was recently told during a hangouts session with Sebastiaan Janssen that it's a good idea to update these dependencies using NuGet so that they match the version of Umbraco I am currently using. This is all well and good for some reason now my code does not seem to work.
Has anyone else has any issues with this plugin and the latest version of Umbraco?
My model is as follows:
public class NewsletterModel
{
[UmbracoEmail(ErrorMessageDictionaryKey = "Newsletter.Error.Email")]
[UmbracoRequired("Newsletter.Error.Required")]
[UmbracoDisplayName("Newsletter.Email")]
public string EMAIL { get; set; }
[UmbracoRequired("Newsletter.Error.Required")]
[UmbracoDisplayName("Newsletter.Forename")]
public string MMERGE4 { get; set; }
[UmbracoRequired("Newsletter.Error.Required")]
[UmbracoDisplayName("Newsletter.Surname")]
public string LNAME { get; set; }
}
It would be really nice to have this plugin back for Umbraco >= 7.5. Actually, it would be even better if Umbraco itself supported all the validation attributes of MVC with a dictionary key added.
Or is there maybe a better way of solving this nowadays?
Umbraco Validation Attributes plugin does not work in Umbraco 7.1.9
Hi all,
For some time now I have been using the fantastic Umbraco Validation Attributes by Warren Buckley ( https://github.com/warrenbuckley/Umbraco-Validation-Attributes ) so that I can use dictionary values in my MVC forms for labels and validation.
This is all well and good but since version 7.1.9 of Umbraco this package no longer seems to work. I know that it's core dependencies are on version 7.1.6 and I was recently told during a hangouts session with Sebastiaan Janssen that it's a good idea to update these dependencies using NuGet so that they match the version of Umbraco I am currently using. This is all well and good for some reason now my code does not seem to work.
Has anyone else has any issues with this plugin and the latest version of Umbraco?
My model is as follows:
And my view is as follows:
The main issue I am having so far is that my field labels are not displaying despite there being values present for these dictionary fields.
Any help would be greatly appreciated.
And in 7.2.1 it does not works also. May be somebody solved this, but we don't know?
I've raised the issue with Warren via GitHub and a number of people have raised the same issue so I think he is going to be looking into it shortly.
Has anyone come across a solution for this, just moved back to this part of my application and its causing issues again...aaarrggghhhhh
It would be really nice to have this plugin back for Umbraco >= 7.5. Actually, it would be even better if Umbraco itself supported all the validation attributes of MVC with a dictionary key added.
Or is there maybe a better way of solving this nowadays?
is working on a reply...