I have a problem with the Required
attribute in MVC. I have a field with a default value "Name". When I submit the form, MVC validates the field. If the field is empty, the required message appears. The problem is, that the error message do not appear because of the default value.
Is it possible, that the ErrorMessage
also appears when the field has the default value "Name".
Sorry for my bad english :)