Add custom validator on field