Validation of forms

Signed-off-by: alfabrad <zerovamp@hotmail.com>