check form values
checkInputVal added