Javascript 我能';“找不到”;名称“;属性检查google表单的输入元素时。如何找到它?

Javascript 我能';“找不到”;名称“;属性检查google表单的输入元素时。如何找到它?,javascript,html,google-sheets,google-sheets-api,google-forms,Javascript,Html,Google Sheets,Google Sheets Api,Google Forms,我有一个html表单,我想从中存储数据到谷歌电子表格。我创建了google表单,但当我尝试检查name属性以将其与HTML表单属性链接时,我找不到任何。我需要name=“entry.###”属性。以下是我在检查输入元素时所说的话: <input type="text" class="quantumWizTextinputPaperinputInput exportInput" jsname="YPqjbf" autocomplet

我有一个html表单,我想从中存储数据到谷歌电子表格。我创建了google表单,但当我尝试检查name属性以将其与HTML表单属性链接时,我找不到任何。我需要name=“entry.###”属性。以下是我在检查输入元素时所说的话:

<input type="text" class="quantumWizTextinputPaperinputInput exportInput" jsname="YPqjbf" autocomplete="off" tabindex="0" aria-labelledby="i1" aria-describedby="i2 i3" dir="auto" data-initial-dir="auto" data-initial-value="">

如果创建类型为
https://docs.google.com/forms/d/XXX/prefill
右键单击其中一个答案字段并选择
Inspect

您应该看到一个元素,如下所示:

<input type="text" class="quantumWizTextinputPaperinputInput exportInput" 
jsname="YPqjbf" autocomplete="off" tabindex="0" aria-label="Untitled question"
 aria-describedby="i.desc.1567593859 i.err.1567593859" name="entry.975751923"
 value="" dir="auto" data-initial-dir="auto" data-initial-value="" aria-invalid="false">

如果创建类型为
https://docs.google.com/forms/d/XXX/prefill
右键单击其中一个答案字段并选择
Inspect

您应该看到一个元素,如下所示:

<input type="text" class="quantumWizTextinputPaperinputInput exportInput" 
jsname="YPqjbf" autocomplete="off" tabindex="0" aria-label="Untitled question"
 aria-describedby="i.desc.1567593859 i.err.1567593859" name="entry.975751923"
 value="" dir="auto" data-initial-dir="auto" data-initial-value="" aria-invalid="false">

我与OP的问题相同。我对ziganotschka的回答感到困惑,但我发现谷歌表单中的三点菜单显示了“获取预填充链接”选项。然后,显示name属性。

我遇到了与OP相同的问题。我对ziganotschka的回答感到困惑,但我发现谷歌表单中的三点菜单显示了“获取预填充链接”选项。然后,显示name属性