I have started using the MVVM pattern.
Everything is fine if I want to display data, I can just find the item source to a object and everything displays as it should.
My question is how do I validate input data? E.g. I have 2 input fields and I need to ensure the fields are populated and ensure the item does not already exist.
Can I just forward the content of the fields to my view model or is there a different/better way?