Spreadsheet Code
Spreadsheet Code
function doGet(e){
Logger.log( JSON.stringify(e) );
if (e.parameter == 'undefined') {
return ContentService.createTextOutput("Received data is undefined");
}
var Curr_Date = new Date();
var Curr_Time = Utilities.formatDate(Curr_Date, timezone, 'HH:mm:ss');
var name = stripQuotes(e.parameters.name);
var nextRow = sheet.getLastRow() + 1;
sheet.getRange("A" + nextRow).setValue(name);
sheet.getRange("B" + nextRow).setValue(Curr_Date);
sheet.getRange("C" + nextRow).setValue(Curr_Time);
function doPost(e) {
var val = e.parameter.value;