diff --git a/code/formfields/FieldEditor.php b/code/formfields/FieldEditor.php
index <HASH>..<HASH> 100755
--- a/code/formfields/FieldEditor.php
+++ b/code/formfields/FieldEditor.php
@@ -19,6 +19,7 @@ class FieldEditor extends FormField {
 	 * @return String
 	 */
 	public function FieldHolder($properties = array()) {
+		$this->setAttribute('data-add-url', '\''.Controller::join_links($this->Link('addfield').'\''));
 		return $this->renderWith("FieldEditor");
 	}
MINOR Setting the url where the javascript should call by ajax to add a field to the user defined form