Trimmed inputs to not accept spaces