Clientside validation attributes on hidden,radio, dropdown elements by default in asp.net mvc 3
问题 I'm using ASP.NET MVC 3 + FLUENT VALIDATION + NINJECT I have model X and rules for that model are something like this: RuleFor(c => c.FirstName).NotEmpty(); RuleFor(c => c.LastName).NotEmpty(); I spotted a little strange thing, the engine puts validation attributes on all hidden elements and on dropdowns, radio buttons, etc.., and I didn't specified this in the validation configuration for that model, so I guess it is by default... <input type="hidden" value="1" name="Id" id="Id" data-val