removeByName(array('MergeField', 'Default', 'Validation', 'DisplayRules')); return $fields; } /** * @return FormField */ public function getFormField() { $field = UserFormsStepField::create() ->setTitle($this->EscapedTitle); $this->doUpdateFormField($field); return $field; } protected function updateFormField($field) { // if this field has an extra class if($field->ExtraClass) { $field->addExtraClass($field->ExtraClass); } } /** * @return boolean */ public function showInReports() { return false; } public function getInlineClassnameField($column, $fieldClasses) { return new LabelField( $column, _t('EditableFieldGroupEnd.PAGE_BREAK', 'Page Break') ); } }