function getCMSFields()
 {
     // Get the parent CMS fields
     $oFields = parent::getCMSFields();
     // Add some fields
     $oFields->addFieldToTab('Root.Content.FormMessages', new HtmlEditorField('Success', 'Success Message', 3, ""));
     $oFields->addFieldToTab('Root.Content.FormMessages', new HtmlEditorField('Failure', 'Failure Message', 3, ""));
     //Add Rubbish Collection FormCategorys
     $oCategories = new DataObjectManager($this, 'FormCategorys', 'FormCategory', array('Title' => 'Title', 'Description' => 'Description'), 'getCMSFields_forPopup');
     // Set the Filter
     $oFields->addFieldToTab("Root.Content.FormCategories", $oCategories);
     //Add Rubbish Collection Category -> FormItems
     $oItems = new DataObjectManager($this, 'FormItems', 'FormItem', array('FormCategory.Title' => 'Form Category', 'Title' => 'Title', 'Description' => 'Description'), 'getCMSFields_forPopup');
     $oFields->addFieldToTab("Root.Content.FormItems", $oItems);
     // Set the Filter
     $oItems->setFilter('FormCategoryID', 'Filter by FormCategorys', FormItem::FormCategorySections());
     //Add DataSheets
     $oDataSheets = new DataObjectManager($this, 'DataSheets', 'DataSheet', array('Participants' => 'Total Participants', 'EstVolume' => 'Estimated Volume', 'Image' => 'Image'), 'getCMSFields_forPopup');
     $oFields->addFieldToTab("Root.Content.DataSheets", $oDataSheets);
     // Return the fields
     return $oFields;
 }