public function CreateAddressForm()
{
$singletonaddress = singleton('Address');
$fields = $singletonaddress->getFrontEndFields();
$actions = FieldList::create(FormAction::create("saveaddress", _t("Address.SaveNew", "Save New Address")));
$validator = RequiredFields::create($singletonaddress->getRequiredFields());
$form = Form::create($this, "CreateAddressForm", $fields, $actions, $validator);
$this->extend('updateCreateAddressForm', $form);
return $form;
}