From 2691ac354e2a16d71eec8981b0cc1b2bbf4071a0 Mon Sep 17 00:00:00 2001 From: Michal Kleiner Date: Tue, 19 Oct 2021 12:58:23 +1300 Subject: [PATCH] ENH Provide submitted form info to submission email data (#1113) --- code/Control/UserDefinedFormController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/code/Control/UserDefinedFormController.php b/code/Control/UserDefinedFormController.php index 47ac253..6ed64e6 100644 --- a/code/Control/UserDefinedFormController.php +++ b/code/Control/UserDefinedFormController.php @@ -308,6 +308,7 @@ JS $emailData = [ 'Sender' => Security::getCurrentUser(), 'HideFormData' => false, + 'SubmittedForm' => $submittedForm, 'Fields' => $submittedFields, 'Body' => '', ];