Added text field validations

Signed-off-by: Leonardo Cambraia <leoccambraia@yahoo.com.br>
Signed-off-by: Emilie Morais <emilie.mo@hotmail.com>