add initial form validation