Trim input in surveyInvitationForm