Added trim to remove whitespaces in all form fields