Skip to content

Commit 3aa4b4b

Browse files
authored
Merge pull request #1 from dwyl/master
Fixing attribute name mismatch (dwyl#360)
2 parents 798c074 + ce8152f commit 3aa4b4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

form-submission-handler.js

Lines changed: 2 additions & 2 deletions
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)