diff --git a/code/Model/EditableFormField.php b/code/Model/EditableFormField.php index f923b8701..732853323 100755 --- a/code/Model/EditableFormField.php +++ b/code/Model/EditableFormField.php @@ -792,7 +792,11 @@ protected function updateFormField($field) */ public function getSubmittedFormField() { - return SubmittedFormField::create(); + $field = SubmittedFormField::create(); + + $this->extend('updateSubmittedFormField', $field); + + return $field; } diff --git a/code/Model/EditableFormField/EditableFileField.php b/code/Model/EditableFormField/EditableFileField.php index eb5222664..62d5a1d2d 100755 --- a/code/Model/EditableFormField/EditableFileField.php +++ b/code/Model/EditableFormField/EditableFileField.php @@ -246,7 +246,11 @@ public function getValueFromData() public function getSubmittedFormField() { - return SubmittedFileField::create(); + $field = SubmittedFileField::create(); + + $this->extend('updateSubmittedFormField', $field); + + return $field; } /**