Show validation message, but clear value
===

I've been searching around and I'm not able to find an answer on what seems like a simple requirement:

With MVC Data Annotation validation, can you show the validation message ('must be a string with a maximum length of 5') in the validation summary or next to field, but clear the value of the text box.

I've tried to use `ModelState.Clear()` and `ModelState.Remove("CompanyName")`, but this clears *both* the value and validation message (validation state).

I'm asking this because recently we had a penetration test and one of the recommendations was to not *pre-populate* secure values (credit card number etc) if validation fails.  This is obviously a minor issue, but the recommendation was to not send the value back across the internet (from the server) if we didn't have to.

Here is the code I'm working with:

    public ActionResult Edit()
    {
        return View();
    }

    [HttpPost]
    public ActionResult Edit(CompanyInput input)
    {
        if (ModelState.IsValid)
        {
            return View("Success");
        }
        //ModelState.Clear // clears both the value and validation message
        //ModelState.Remove("CompanyName") // same result
        return View(new CompanyInput());
    }

And the view model:

    public class CompanyInput
    {
        [Required]
        [StringLength(5)]
        public string CompanyName { get; set; }
    
        [DataType(DataType.EmailAddress)]
        public string EmailAddress { get; set; }
    }