made some improvements to form validation on AddView