diff --git a/code/model/submissions/SubmittedFormField.php b/code/model/submissions/SubmittedFormField.php index df693dc..3285005 100755 --- a/code/model/submissions/SubmittedFormField.php +++ b/code/model/submissions/SubmittedFormField.php @@ -78,4 +78,9 @@ class SubmittedFormField extends DataObject { public function getExportValue() { return $this->Value; } + public function getEditableField() { + return $this->Parent()->Parent()->Fields()->filter(array( + 'Name' => $this->Name + ))->First(); + } }