I have registration form and its contain date of birth field.
Using calender date picker its input the value to this field.
these are the steps to insert
Create an id for @Html.ValidationMessageFor and @Html.TextBoxFor, then use javascript to validate it. In your view do something like:
@section scripts{ }