Trim input text in validations (to guard for whitespace)