I have three form elements. We'll call them RadioA, RadioB, and Dropdown. In the Model they are created in that order, and presented in the View in that order, and specified as required with a unique error message for each. Then in the view, I use:
@Html.ValidationSummary()
But the error messages come back:
- Dropdown is required
- RadioA is required
- RadioB is required
On this thread, I am learning that we really don't have much control over the order in which these error messages come back. A few people gave suggestions on how to hack this, but I can't get any of them to work.
Any ideas? Should I just use jQuery and validate each form item the old-fashioned way?