form validation

form validation running…but error messages not showing up.
moved submitInfo function to validate.
added comment

needed to merge two branches.