add validator on name's fields