Trim whitespaces in all input fields