Skip to content
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

changes made #72

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

LandonMoss
Copy link

File Changes View: The pull request will show that the form-script.js file has been modified. You'll see a comparison between the original version of the file and the modified version.

Modified Function: Within the form-script.js file, made changes to the doPost() function and added a new function called sendEmailNotification(). See the specific changes I made within these functions, such as adding code to send an email notification when a form submission is received.

Added Variables: You will notice that I defined two new variables at the beginning of the script: sheetName and scriptProp. These variables are used to specify the name of the Google Sheets worksheet and to access script properties, respectively.

Modified Function Parameters: In the sendEmailNotification() function, I added parameters subject and body to specify the subject and body of the email notification.

Error Handling: Added error handling code within the doPost() function to catch any exceptions that occur during the form submission process. Sending an email notification with details of the error if an exception occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant