added support for hidden field validation