completed form validation and alerts on newform page