In my application I have a model and viewmodel which implement IDataError this all works but for example when I open view for adding new customer if my validation rule requires First and Last name not to be null or empty those validations are immediately evaluated and user sees form with errors asking them to enter those data. how can I just show clean entry form but still show validation when property changes or input lost focus?
In my application I have a model and viewmodel which implement IDataError this all
Share
first if your rule say that first and lastname should not be empty – its right that the user see the validation error.
what i have done is to use a ValidationTemplate for empty values, so that the user just see a “*” for requiered field.