diff --git a/code/EditableSpamProtectionField.php b/code/EditableSpamProtectionField.php index c31207d..6260b03 100644 --- a/code/EditableSpamProtectionField.php +++ b/code/EditableSpamProtectionField.php @@ -77,7 +77,11 @@ public function getFormField() $protector->setFieldMapping($fieldMapping); // Generate field - return $protector->getFormField($this->Name, $this->Title, null); + $field = $protector->getFormField($this->Name, $this->Title, null); + + $this->doUpdateFormField($field); + + return $field; } /**