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.

asked Aug 27, 2010 at 9:06
1

1 Answer 1

1

Found myself.

DBS
10.1k4 gold badges40 silver badges61 bronze badges
answered Aug 27, 2010 at 9:09
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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.