public function isRequired() { $choice = $this->getChoiceGroup(); return $choice == null && parent::isRequired(); }