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 @@ class EditableSpamProtectionField extends EditableFormField $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; } /**