Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Normally I would use a .resx file for unobtrusive valdation.
[Required(ErrorMessageResourceType = typeof(Resource), ErrorMessageResourceName = "Required"]
Is there anyway to use umbraco dictionary instead?
Hi Carl,
Did you find a way to achieve this requirement with Umbraco 8 Dictionaries?
Mila
Hi Mila,
This would mean that I have to write my own validators that inherit from the already existing within .net.
E.g.
public class DisplayImpl : Display { public override string Name { ... } }
Or something similar. If you have a better solution please share it.
// C
I am trying to do the same - create my own validators, but currenty I have no success. If you achieve this can you share some code.
Thank you
Hi!
Have you had a look at this package?
https://our.umbraco.com/packages/developer-tools/validation-attributes-for-custom-forms/
I'm not using it my self since I've already implemented something similar before this was released but it looks promising.
Hi Marcus,
I am looking for Umbraco 8 solution. Do you think that this package will work on Umbraco 8?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Dictionary and Unobtrusive validation
Normally I would use a .resx file for unobtrusive valdation.
Is there anyway to use umbraco dictionary instead?
Hi Carl,
Did you find a way to achieve this requirement with Umbraco 8 Dictionaries?
Mila
Hi Mila,
This would mean that I have to write my own validators that inherit from the already existing within .net.
E.g.
Or something similar. If you have a better solution please share it.
// C
Hi Carl,
I am trying to do the same - create my own validators, but currenty I have no success. If you achieve this can you share some code.
Thank you
Hi!
Have you had a look at this package?
https://our.umbraco.com/packages/developer-tools/validation-attributes-for-custom-forms/
I'm not using it my self since I've already implemented something similar before this was released but it looks promising.
Hi Marcus,
I am looking for Umbraco 8 solution. Do you think that this package will work on Umbraco 8?
is working on a reply...