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"]');