Change inputInvalid to inputValid