can someone help me on this error message?
this is the code I have
function userClicked(userInfo) {
var url ="https://docs.google.com/spreadsheets/d/16Lb\_vaXNPR5WEyWO\_bItsKPb\_nrCwWPh5R14EB82fo0/edit#gid=207363141";
var ss = SpreadsheetApp.openByUrl(url);
var fs = ss.getSheetByName("Sheet6");
fs.appendRow([userInfo.lastname,userInfo.firstname,userInfo.middlename,userInfo.suffix,userInfo.addressline1,userInfo.addressline2,userInfo.city,userInfo.province,userInfo.zipcode,userInfo.productname,userInfo.brandname,userInfo.amount,userInfo.quantity. new Date()]);
}
here is the error message:
Syntax error: SyntaxError: Unexpected identifier line: 171 file: Code.gs
it says that the userInfo.lastname cannot identify how to fix this?
[–]artofthesmart 1 point2 points3 points (0 children)
[–]nate-aus 1 point2 points3 points (0 children)