Skip to content

Commit ce8152f

Browse files
authored
Fixing attribute name mismatch (#360)
The attribute name in the JS did not match what the google script was looking for.
1 parent 798c074 commit ce8152f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

form-submission-handler.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
// add form-specific values into the data
4545
formData.formDataNameOrder = JSON.stringify(fields);
4646
formData.formGoogleSheetName = form.dataset.sheet || "responses"; // default sheet name
47-
formData.formGoogleSend
47+
formData.formGoogleSendEmail
4848
= form.dataset.email || ""; // no email by default
4949

5050
return {data: formData, honeypot: honeypot};
@@ -102,4 +102,4 @@
102102
buttons[i].disabled = true;
103103
}
104104
}
105-
})();
105+
})();

0 commit comments

Comments
 (0)