Skip to content

Commit

Permalink
Fixed: Error with data variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bymayo authored Jul 31, 2023
1 parent bc5e9aa commit 60bfce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/_components/form.twig
Original file line number Diff line number Diff line change
Expand Up @@ -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"]');
Expand Down

0 comments on commit 60bfce3

Please sign in to comment.