Forum Discussion
DorothyStark
12 years agoCommunity Member
exporting variables to be read in a Google docs spreadsheet
I've seen Tom's helpful screencast on how to embed a Google docs form into a Storyline project. However, what I want to do is a little different. I'd like to be able to export the values of about...
SYu
11 years agoCommunity Member
Curious if there's any new information on this process, particularly to Jason Dowd's issue in the above post. Here is my code, but it doesn't send the data to the Google Sheet. Any ideas?
var player = GetPlayer();
var first = player.GetVar("TextEntry");
var live = player.GetVar("TextEntry1");
$.ajax({
url: "https://docs.google.com/forms/d/1HvAn2xcVBDcvN1stb2e7YIt1dZ-BW3oba7PgZFowCOk/formResponse",
type: "POST",
data: {"entry.985481521" : first, "entry.437746786" : live},
success: function(data)
{
alert(data);
}
});
return false;