We are working on a project where we have to build a website, iphone app and android app. We have few forms which needs to be filled via all three modes(web, iphone, android ). In mvc, we can use attribute validation and validate when submit the form, but that wont work on iphone and android( I think). So my question is, is there any better way to implement the validation logic at one place and use it at all the places.
Help will be appreciated.