MVC Validation with JQuery Accordion
问题 I am relatively new to ASP.NET MVC but am really impressed by the validation features. I have a giant form that I have split into an accordion using JQuery UI. This form is a very basic scaffold of a model and that model has code like the following to validate each field that is required: [Required(ErrorMessage="Please Enter a Valid Product")] [DisplayFormat(ConvertEmptyStringToNull= false)] [StringLength(160, MinimumLength=2,ErrorMessage="Product Must Be At Least 2 Characters")] and then the