style form error
strip name trailing spaces