update formValidation function
add checkFormInputs function