MVC 5 - Adding Client Validation to refuse the default value?
问题 I'm using a DropDownListFor and provide a default selection of -- Select Make -- which has an empty value. I want to provide the user with a hint of what to do (thus the 'Select Make') but don't want to allow them to actually submit that value. Currently the website allows this to go through. I thought that adding a minimum length of 2 would prevent it but no luck. I'm fairly new to .NET MVC so let me know if I'm doing this in the completely wrong way. The actual POST request body is: Make=