Allow empty strings for fields marked with PhoneAttribute or UrlAttribute September 18, 2023 by Tarik Use following two data annotations: [Required(AllowEmptyStrings = true)] [DisplayFormat(ConvertEmptyStringToNull = false)]