asp.net mvc 5 - MVC Foolproof Validation multiple error messages -
asp.net mvc 5 - MVC Foolproof Validation multiple error messages -
i building custom validations viewmodel , have question in regards having multiple error messages.
i wanting create custom validation on string attribute. depending on values beingness compared, wish output different validation messages.
is possible, or need create different custom validation each message displayed?
thanks in advance
yes, possible implement custom validations on properties of model. please refer tutorial create custom validation attribute work need, need write own jquery validation script client side validation in mvc framework way if utilize iclientvalidatable explained in same.
asp.net-mvc-5 custom-validators foolproof-validation validationmessage
Comments
Post a Comment