Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Google forms hidden fields
<!-- ADD GOOGLEFORM-RELATED INPUTS HERE, ALL HIDDEN.
THEY'LL BE GIVEN VALUES IN THE SCRIPT BELOW
THE "NAME" AND "ID" PARAMETERS MUST CORRESPOND TO
THOSE IN THE SOURCE OF THE GOOGLE-HOSTED LIVE FORM-->
<!-- QUESTION 1 -->
<input type="hidden" name="entry.338471973" value="" id="entry_338471973">
<!-- QUESTION 2: LAT/LONG -->
<input type="hidden" name="entry.80388879" value="" id="entry_80388879">
<input type="hidden" name="entry.510592791" value="" id="entry_510592791">
@ermGit

This comment has been minimized.

Copy link

ermGit commented Jun 19, 2015

How did you use this snippet? I am looking for a way to put hidden fields in a Google Form.

@ivanbacher

This comment has been minimized.

Copy link

ivanbacher commented Jun 19, 2015

+1

@Miclo

This comment has been minimized.

Copy link

Miclo commented Jul 6, 2017

Just like ermGit Iam looking for a way to pass hidden information to a form that will be submitted to the responses spreadsheet. I don't understand how you get this to work. Would you please explain how it is done? Thanks.

@benvantende

This comment has been minimized.

Copy link

benvantende commented Jul 20, 2017

Did anybody get anywhere with this. I am also investigating how to add hidden fields.

@Daniel-R-Armstrong

This comment has been minimized.

Copy link

Daniel-R-Armstrong commented Jul 28, 2017

I am also interested if anyone, could point me in the direction of how I would change an input type to hidden in google forms.

@eugenevdm

This comment has been minimized.

Copy link

eugenevdm commented Aug 2, 2017

I have tried researching this now for an hour. I don't think it's possible any more. There are multiple "easy" examples on the internet but most point to old Forms stuff. This is a popular link that doesn't work any more: https://morningstudio.com.au/blog/2013/06/how-to-style-google-forms/

I traced some of the issues to the final script tab that refers to freebird. It gives an "Access-Control-Allow-Origin" error, but even if you manually copy the Javascript to localhost it doesn't work, all kinds of new exceptions ensue.

So, for now at least, I don't believe it's possible to do using a prior method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.