Validation

Wouldn't it be nice if all of the validation/constraint information that is stored in Commerce Server in the backend could flow into the front end so your forms could be validated against those rules? Yes it would be great, the question is how to use that information and seamlessly integrate it into your site.

We are working on a few ideas, one obvious idea is to add the appropriate validation attributes to the top of properties during code generation of the entities, and then MVC will do the rest, but then what about webforms, and what if you want to use view models? Lots of little things to think about, watch this space and feel free to pitch us some ideas if you have any.

Last edited Dec 13, 2012 at 6:38 PM by cmcauliffe, version 1

Comments

No comments yet.