validate_inputs function

Send input validation messages to output