From 60bfce330977745f0da93f9c01c93d758279785a Mon Sep 17 00:00:00 2001 From: Jason Mayo Date: Mon, 31 Jul 2023 10:54:16 +0100 Subject: [PATCH] Fixed: Error with data variable --- templates/_components/form.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/_components/form.twig b/templates/_components/form.twig index 13baac9..ca07fd0 100644 --- a/templates/_components/form.twig +++ b/templates/_components/form.twig @@ -43,7 +43,7 @@ form.querySelector('input[name=formHash]').value = data.hash; - form.querySelector('input[name=freeform_payload]').value = response.payload; + form.querySelector('input[name=freeform_payload]').value = data.payload; honeypot = data.honeypot; honeypotInput = form.querySelector('input[name^="freeform_form_handle"]');