0

How does asp.net mvc figures out validation error message for particular field?

I got class with 3 fields where one of them is with type DateTime. When i post form and no data are provided for DateTime field and it is marked as Required, validation summary can't figure out field name and shows "A value is required" instead of expected "The electronic version arrival date is required". Other fields got correct msg.

Can't understand what I'm missing.

1

1 Answer 1

1

Found myself.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.