diff --git a/code/GenericDataAdmin.php b/code/GenericDataAdmin.php
index <HASH>..<HASH> 100755
--- a/code/GenericDataAdmin.php
+++ b/code/GenericDataAdmin.php
@@ -537,9 +537,10 @@ HTML;
 	 * 
 	 * @return String
 	 */
-	function createRecord() {
+	function createRecord($data, $form) {
 		$baseClass = $this->stat('data_type');
 		$obj = new $baseClass();
+		$form->saveInto($obj);
 		$obj->write();
 
 		$editForm = $this->getEditForm($obj->ID);
add feature that a creation form with fields in it will create the new record with those field value

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@<I> <I>b<I>ca-7a2a-<I>-9d3b-<I>d<I>a<I>a9