diff --git a/code/Model/Submission/SubmittedFormField.php b/code/Model/Submission/SubmittedFormField.php index 469de56..7085ae9 100755 --- a/code/Model/Submission/SubmittedFormField.php +++ b/code/Model/Submission/SubmittedFormField.php @@ -27,6 +27,10 @@ class SubmittedFormField extends DataObject 'FormattedValue' => 'Value' ]; + private static $casting = [ + 'FormattedValue' => 'HTMLFragment' + ]; + private static $table_name = 'SubmittedFormField'; /**