How do I record results in Google Drive form

Mar 07, 2016

Hello, 

Firstly - I've found these pages immensely useful.  Just wondered if anyone can help please.  We don't have an LMS so want to record results in Google Drive.  I've searched and found a few examples on here but not matter what I try I can't get this to work.  Here is my javascript.

function postContactToGoogle(){

var player=GetPlayer();

var Sname=player.GetVar("name");

var Sscore=player.GetVar("Score");

var Sresult=player.GetVar("result");

$.ajax({

url: "https://docs.google.com/a/suerydercare.org/forms/d/1Rbk0kNaHa9C8qALYAW0DD2QGzXnU06bUC9O4aTTtXz4/formResponse"
data: {"entry.3747607" :Sname,"entry.1268793432":Score, "entry.1674739877":Sresult},
type: "POST",
dataType:"xml",

success: function(data)
{
alert(data);

}

});

return false;
}

 

What am I doing wrong please? Can anyone help.  FYI I've also found the Window.print() doesn't want to work either.  Don't know whether its my coding or my platform.

 

Thanks

15 Replies
Christie Pollick

Hi, Sarah -- Thanks so much for your question! With respects to the information on How to Share Your E-Learning Course for Free with Google Drive, I wanted to note the following:

UPDATE 1/7/2016Google is deprecating this feature and it will no longer work after Aug 2016.

And as for your JavaScript needs, I wanted to mention that is not something for which we are able to provide support, so one of the many gurus here in the community will need to assist you further

Sarah Hadfield

Hi sorry - not sure you have understood me.  I'm not interested in hosting the e-learning on Google drive just recording results there.  I've also noted through my searches that your not able to support this question so wasn't expecting staff to, many thanks for confirming this though. So I really do hope one of the gurus are about.

Sarah Hadfield

Hiya, 

This is the magic info I found.  very important is an add to the index file once published to make it work with java.  All in the post. I will add though that I found google drive had changed the way the scripts showed up to get the entry numbers so you may find same with yours. 

http://www.tracyparish.ca/2015/08/how-to-send-variables-from-storyline-to-google-docs.html

Good luck!

Maria Marda

Hi! I am looking to export data from Articulate to Google forms. I managed so far to get data from entry fields like name, age etc. I want now to learn how can I get data from radio buttons and checkboxes. I created the google form and I tried to put multiple choices e.g. white, black, orange and I tried to find the entry number for each of the options by inspecting but there isn't any. I did, of course, the same fields in Articulate having them in radio buttons initial value false and when selected change to true. Same with checkboxes. Has anybody found a solution on how to collect data from radio buttons and checkboxes? 

Konstantin Talantsev

It will  be used in 14 computers with internet simultaneously. I can use web version (work perfectly) But comps have different browsers (versions, restriction ets) This is reflected on picture quality and navigation. CD publication standardizes an interface. Can I use CD version  for sending data to Google?

Thank you

This discussion is closed. You can start a new discussion or contact Articulate Support.