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
  •  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

Screenshots

NuGet install instructions for Umbraco 9+

dotnet add package Our.Umbraco.ValidationAttributes

Package owner

Martino

Martino

Martino has 110 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 10.0.x (untested)
Version 9.1.x (untested)
Version 9.0.x (100%)
Version 8.18.x (untested)
Version 8.17.x (untested)
Version 8.16.x (untested)
Version 8.15.x (untested)
Version 8.14.x (untested)
Version 8.13.x (untested)
Version 8.12.x (untested)
Version 8.11.x (untested)
Version 8.10.x (untested)
Version 8.9.x (untested)
Version 8.8.x (untested)
Version 8.7.x (untested)
Version 8.6.x (untested)
Version 8.5.x (untested)
Version 8.4.x (untested)
Version 8.3.x (untested)
Version 8.2.x (untested)
Version 8.1.x (untested)
Version 8.0.x (untested)
Version 7.15.x (untested)
Version 7.14.x (untested)
Version 7.13.x (untested)
Version 7.12.x (untested)
Version 7.11.x (untested)
Version 7.10.x (untested)
Version 7.9.x (untested)
Version 7.8.x (untested)
Version 7.7.x (untested)
Version 7.6.x (untested)
Version 7.5.x (untested)
Version 7.4.x (untested)
Version 7.3.x (untested)
Version 7.2.x (untested)
Version 7.1.x (untested)
Version 7.0.x (untested)

You must login before you can report on package compatibility.

Package Information

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

External resources