1 vote

Umbraco Validation Attributes

Contains model validation attributes to for your properties, by using Umbraco Dictionary as the resource for error messages.  
NOTE: You have to create Dictionary Keys manually (Dictionary Keys default list is specified in GitHub's README.md)  
Decorate your properties with the following attributes:  
  •  UmbracoCompare
  •  UmbracoDisplayName
  •  UmbracoEmailAddress
  •  UmbracoIFormFileExtensions
  •  UmbracoMaxFileSize
  •  UmbracoMaxLength
  •  UmbracoMinLength
  •  UmbracoMustBeTrue
  •  UmbracoRange
  •  UmbracoRegularExpression
  •  UmbracoRemote
  •  UmbracoRequired
  •  UmbracoStringLength
This package is for Umbraco 9 only and is taken from the original Our.Umbraco.DataAnnotations by rasmuseeg for v7 and v8.  
If you need it for v8 or v7 you can find it here:  
  • V8: https://github.com/rasmuseeg/Our.Umbraco.DataAnnotations/tree/dev-v8
  • V7: https://github.com/rasmuseeg/Our.Umbraco.DataAnnotations/tree/dev-v7


NuGet install instructions for Umbraco 9+

dotnet add package Our.Umbraco.ValidationAttributes

Package owner



Martino has 114 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 8.18.x (untested)

You must login before you can report on package compatibility.

Previously reported to work on versions:

Package Information

  • Package owner: Martino
  • Created: 21/10/2021
  • Current version 1.1.0
  • License MIT
  • Downloads on Our: 0
  • Downloads on NuGet: 23.1K
  • Total downloads : 23.1K

External resources