validateField() now uses getFieldElements()