trim white space on form inputs to validate just blank space as character