validate class, html form fields taken from validate rules