Created
October 26, 2012 15:28
-
-
Save tansaku/3959433 to your computer and use it in GitHub Desktop.
Google App Script Form Processing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function processForm(params) { | |
var ss = SpreadsheetApp.openById(csc3211fall2012_ss); | |
var email_sheet = ss.getSheetByName('Week '+(parseInt(params['week'],10)+1)+' Assignments'); | |
var range = colName(parseInt(params['assignment'],10)+1) + (parseInt(params['match'],10)+1); | |
var existing_val = email_sheet.getRange(range).getValue() | |
email_sheet.getRange(range).setValue(existing_val+ params['submission']); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment