public function isValid() { $valid = parent::isValid(); $events = $this->getEventManager(); $events->trigger(FormEvent::EVENT_VALIDATE, $this, ['isValid' => $valid]); return $valid; }
public function init() { $this->options['disable_capable'] = array('description' => 'Request additional facts from the Applicant. Selected Fields will be added to the application Form.'); $this->setLabel('Facts'); $this->setIsDescriptionsEnabled(true); $this->setDescription('Please provide some additional facts for this job opening.'); $this->setIsDisableCapable(true); $this->setIsDisableElementsCapable(true); parent::init(); }
public function setObject($object) { if ($object instanceof JobInterface && null === $object->getOrganization()) { $fs = $this->getBaseFieldset(); $hiringOrgSelect = $fs->get('companyId'); $orgValues = $hiringOrgSelect->getValueOptions(); if (1 == count($orgValues)) { $value = key($orgValues); $hiringOrgSelect->setValue($value); $this->setDisplayMode(self::DISPLAY_SUMMARY); $fs->getHydrator()->hydrate(array('companyId' => $value), $object); } } return parent::setObject($object); }
public function init() { $this->setOptions(array('headscript' => 'Jobs/js/form.ats-mode.js')); parent::init(); }
public function init() { $this->setDescription('Please select a language and self-assess your level'); $this->setIsDescriptionsEnabled(true); parent::init(); }
public function init() { $this->setLabel('Personal informations'); parent::init(); }
public function addButtonsFieldset() { parent::addButtonsFieldset(); $this->get('buttons')->remove('submit'); }
public function init() { // $this->setDescription(/*@translate*/' Where do you want to work tomorrow. This heading gives an immediate overview of your desired next job.'); $this->setIsDescriptionsEnabled(true); parent::init(); }
public function init() { $this->setLabel('status'); parent::init(); }
public function init() { $this->setDescription('Focus on the work experience that gives added weight to your application. Add separate entries for each course. Start from the most recent.'); $this->setIsDescriptionsEnabled(true); parent::init(); }
public function init() { $this->setDescription(' Focus on the work experience that gives added weight to your application.<br>Add separate entries for each experience. Start with the most recent.<br>If your work experience is limited:<ul><li>describe your education and training first</li><li>mention volunteering or (paid/unpaid) work placements which provide evidence of work experience.</li></ul>'); $this->setIsDescriptionsEnabled(true); parent::init(); }