'Android: Cannot find element id/name in google form android

I am trying to integrate google form with android using this link

But when I created a google form as mentioned in the tutorial I was not able to find the name or id of the element by clicking inspect on the field.Image Screenshot

I am new to google form integration. Please help me how can I get the id or name of the element in the new google form



Solution 1:[1]

Keep attention that You want to send the data to a google form, not to edit a google form from application but you are trying to find the name in edit form page so, Create the google form first by :

Open it's link from upper right corner by pressing SEND button.

After that right click on an input you want to find it's name to use with your POST request.

Instruction with picture :

1st :

enter image description here

2nd :

enter image description here

3rd(Now you can find your desired form and it's inputs):

enter image description here

Solution 2:[2]

if you are not admin of the google form, then you will not find Prefill Link.

for that case inspect element - name/id is not present.

To get element name:

  1. need to inspect the Network Tab of your Google form. enter image description here

  2. first submit your Google Form and check for formResponse. enter image description here

  3. in formResponse select Payload.

  4. in Payload you will see many entries like entry.130355623

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2