function init() { parent::init(); $this->getElement('head')->enum(['Official', 'Personal']); $this->addCondition('type', 'Email'); $this->is(['value|unique_in_epan|to_trim|required|email']); }
function init() { parent::init(); $this->getElement('head')->enum(['Official', 'Personal', 'Mobile']); $this->addCondition('type', 'Phone'); }
function init() { parent::init(); $this->getElement('head')->enum(['DOB', 'Anniversary']); $this->addCondition('type', 'Event'); }
function init() { parent::init(); $this->getElement('head')->enum(['Skype', 'Yahoo', 'ICM', 'WhatsApp']); $this->addCondition('type', 'IM'); }
function init() { parent::init(); $this->getElement('head')->enum(['Father', 'Mother', 'Other']); $this->addCondition('type', 'Relation'); }