Trimmming the text, not allowing to send empty text boxes