Google Form - finding field code -...

User 2796102 Photo


Registered User
66 posts

https://docs.google.com/forms/d/e/1FAIp … A/viewform

I have finally been able to find the form action code but now I need to find the inputs. I have opened every down arrow but am still stumped in finding the proper response code, as described in Bob Visser's article that describes how to link the two.

If someone could help point me in the right direction with my form, I may be able to figure it out.

Thanks.
Phillip
User 187934 Photo


Senior Advisor
20,181 posts

Hi Phillip,
What are you trying to do?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2796102 Photo


Registered User
66 posts

Eric,

I am trying to use Google Form and Form Designer. I need to better be able to sort through the Google Form code to find where the entry data is so I can match it to the proper field in Form Designer. The forms look better from FD but I like the reporting and data keeping Google Form gives you. Thanks for your reply.
User 187934 Photo


Senior Advisor
20,181 posts

1. Open your Google form in your Browser.
2. Right click on the page and select View Page Source.
3. While viewing the source code, hit the keys, ctrl then f.
4. In the search bar that opens enter form action="
5. Copy the link that is inside the " " . This is the form action link.
6. Copy the code to your Form Designer action link.

To check variables on inputs enter name=" in the search bar.
You can then scroll through the code looking at all of the required variable names you need to match in your Form Designer form.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2796102 Photo


Registered User
66 posts

I have the form action link down.

What about the fields I am trying to populate 5 different types of questions

email - which is automatically captured on a google form

name - simple fill in the blank

radio buttons

check boxes

pull down selection

submit button

How do I find the code for these and where do I paste the information

Here is my google form and the one I made on my webpage

https://docs.google.com/forms/d/e/1FAIp … sp=sf_link

https://www.lmstest.net/fitest.html

Here is a link to the form designer file if that is helpful

https://drive.google.com/file/d/1hb23dp … sp=sharing
User 2699991 Photo


Registered User
4,782 posts
Online Now

Well I can't really help with the code stuff but one small word of advice if you want to heed it

Your form is very colourful to say the least, infact too colourful especially at mobile device levels, it is almost impossible to read let alone see what has been selected etc and that's for someone with normal vision, how anyone that is even slightly visually impaired would cope is difficult to say, but what can be said is that the likes of Google and other search engine browsers etc place a very high importance now on what they regard as essential values one of which is "accessibility" which includes the users visible experience, if something doesn't meet with that it will have an adverse effect on the results pages. Without doubt the form as it is will cause a few visual problems.
You should consider making it a little less colourfull if nothing else.
There are plenty of guidelines and articles out there regarding "best practices" for designing and presenting forms.
As a last mention also at mobile widths the firm is too wide causing a horizontal scroll bar, which once again could
result in an error which inturn also effects search results.
I hope that you manage to get it working regardless of how it looks, please take all this as the friendly word of advice it is intended too be.
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS
Contact Me For One To One Assistance
https://alphathemes.coffeecup.com/forms … an%281%29/
User 2796102 Photo


Registered User
66 posts

Thanks Wayan. I made this mostly to learn the code implementation from one of the experts here. I was just playing with color. Hopefully someone will be able to help me learn the coding part.
User 187934 Photo


Senior Advisor
20,181 posts

Hi Phillip,
I think this explains everything as good as I could.
https://codepen.io/learningcode/post/cu … ur-website

And Bobs Instructions.
https://weldebob.medium.com/google-form … 04765f1b8c
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2906089 Photo


Registered User
222 posts

Hi,

Bob's code is a little outdated. Google stopped using the name attribute and started using the hidden attribute. I ran into the same issue. The cc team helped me. Here's the the help I got.

"It seems that Google Form has changed the markup. Now the field can be found just on the part inside the <form> tag. So now the attribute name is not included on the field itself anymore.

So you now need to find the <form> tag and open the first div inside it and there the input names can be found (but now as hidden fields).

A trick to know which matches what, you can enter some values on the actual fields in the browser. Those values will appear on the input hidden fields. This way you can find which name matches a field."

Learn something, Share something.
User 187934 Photo


Senior Advisor
20,181 posts

Your form lnputs are like this.

Name
<input type="hidden" name="entry.2137692021" value="Eric Rohloff">

Month Select
<input type="hidden" name="entry.336425185" value="January">

Checkboxes
<input type="hidden" name="entry.1008423230" value="White Chapel">
<input type="hidden" name="entry.1008423230" value="Other">

Gender
<input type="hidden" name="entry.1640115864" value="Male">

Email
<input type="hidden" name="emailAddress" value="me@me.com">

Not sure where this one is being populated from. Looks to be a randomizer
<input type="hidden" name="dlut" value="1642000277690">

I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.