function doPost(e) {
var row = [
e.parameter.first_name,
e.parameter.last_name,
e.parameter.email_name,
e.parameter.message_name,
var sheet = SpreadsheetApp.openById('1AxAIJNK7NkBOY2QPUQe0jRew3hZavUJdMHUXPR5niz4');
sheet.appendRow(row);
return HtmlService.createHtmlOutput(<script>window.location.replace("https://astralane.io/");</script>);
}
error:Syntax error: SyntaxError: Unexpected token ‘<‘ line: 13 file: astralane app script.gs
i cant save the script because of the error
New contributor
Pranav Prakash is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1