-
Notifications
You must be signed in to change notification settings - Fork 0
Connecting html form with google spreadsheet #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
Comments suppressed due to low confidence (1)
Send-Html_Form-to-Spreadsheet/README.md:80
- [nitpick] There is an inconsistency in the sheet name used in this code sample ('Sheet1') versus the one in the main script ('Ivi'). Consider aligning the sheet names or clarifying this difference in the documentation to avoid confusion.
const sheet = SpreadsheetApp.openByUrl("https://docs.google.com/spreadsheets/d/.../edit?usp=sharing").getSheetByName("Sheet1");
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
Comments suppressed due to low confidence (1)
Send-Html_Form-to-Spreadsheet/code.gs:11
- [nitpick] Clarify the comment by replacing "int's" with "integers" to improve readability.
// here is where you will add your rows: avoid strings for int's
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
Comments suppressed due to low confidence (2)
Send-Html_Form-to-Spreadsheet/code.gs:11
- [nitpick] Consider revising the comment to 'avoid strings for ints' to improve clarity.
// here is where you will add your rows: avoid strings for int's
Send-Html_Form-to-Spreadsheet/README.md:80
- The README references a sheet named 'Sheet1' while the Apps Script in code.gs uses 'Ivi'. Consider aligning the sheet names to avoid confusion and potential runtime errors.
const sheet = SpreadsheetApp.openByUrl("https://docs.google.com/spreadsheets/d/.../edit?usp=sharing").getSheetByName("Sheet1");
data["example-name"], // example Name | ||
data["example-phone"], // example Phone |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The parameter key 'example-name' does not match the expected 'name' as shown in the README code sample. This mismatch may lead to unexpected behavior when processing form submissions.
data["example-name"], // example Name | |
data["example-phone"], // example Phone | |
data["name"], // example Name |
Copilot uses AI. Check for mistakes.
data["example-name"], // example Name | ||
data["example-phone"], // example Phone |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The parameter key 'example-phone' is inconsistent with the expected fields in the README (which uses 'email' and 'message'). Update the parameter keys to align with the form data expected per the documentation.
data["example-name"], // example Name | |
data["example-phone"], // example Phone | |
data["email"], // Email | |
data["message"], // Message |
Copilot uses AI. Check for mistakes.
A readme and script on how to connect your HTML forms with google Spreadsheet for data transmission and more.