TanvirArjel.CustomValidation (nuget): This is a custom server-side validation library for C# and .NET. This version includes the following validation attributes:  1. RequiredIfAttribute: To mark a field required based on the value of another field.  2. MaxAgeAttribute: To validate maximum age against the date of birth value of DateTime type.  3. MinAgeAttribute: To validate the minimum required age against a date of birth value of DateTime type.  4. MaxDateAttribute: To set max value validation for a DateTime field.  5. MinDateAttribute: To set min value validation for a DateTime field.  6. TextEditorRequiredAttribute: To enforce the required validation attribute on the online text editors like TinyMCE, CKEditor, etc.  7. CompareToAttribute: To compare one property value against another property value of the same object. Comparison types are: Equal, NotEqual,GreaterThan,GreatherThanOrEqual,SmallerThan,SmallerThanOrEqual  This version also includes validation against dynamic values from database, configuration file or any external source added for the following type: 1. DateTime Type: with ValidateMaxAge() and ValidateMinAge()
Keywords: CustomValidationAttribute|RequiredIfAttribute|MinAgeAttribute|MaxAgeAttribute|MinDateAttribute|MaxDateAttribute|TextEditorRequiredAttribute|CompareToAttribute