/** * @param DataContainer $dc */ public function jumpToMandatory(DataContainer $dc) { if (ModuleModel::findById($dc->id)->type === 'clr_unsubscribe') { $GLOBALS['TL_DCA']['tl_module']['fields']['jumpTo']['eval']['mandatory'] = true; } }