Added validation to add view form