formCheck is form validation utility