generating a Link to Pre-fill Google Forms

114 views
Skip to first unread message

Rémi Bachelet

unread,
Feb 18, 2018, 1:39:50 PM2/18/18
to General Open edX discussion
Hi All

I'm a teacher, not a developper, so I'll try my best to be clear, considering my understanding of coding ... which is beginner-level.


  • We are trying to generate a custom (pre-fill) link to a google forms in order to Dynamically Pre-fill Google Forms with URL Parameters.
  • We need these to administer 3 big research questionnaires and grant request forms - and subsenquetly reconcile them withgrades, find the person requesting the grant and platform analytics



The general syntax to prefill a google forms is 

so we need to generate the link add the correct "=prefill"


Right-now our developper has developped a client-side script getting the username from the current page (var usernamex = document.getElementsByClassName('label-username')[0];)


so we can generate a pre-filled questionnaire with the username


AFAIK the username, is a correct, unchanging unique identifier right ?

What we would like to do is to prefill with other info as well : student ID and mail, so that we can easly process grant request form example. Our developper explained than to do that a client-side code will not do: we need server-side code.

Any idea on how to proceed? How complicated would it be?

Thanks for you ideas !
Reply all
Reply to author
Forward
0 new messages