Submit a Google Form response using HTTP POST

79 Views Asked by At

I want to submit a response to a Google Form using an HTTPS POST. This is described here: HTTP Post Request. Here is the code sample for the review:

<form action="https://docs.google.com/forms/d/e/{formId}/formResponse" method="POST">
<div class="item">
<label>Your name</label>
<input name="entry.3403608" required type="text" placeholder="Kenton Vizdos" />
</div>
<div class="item">
<label>Your email</label>
<input name="entry.42966434" required type="email" placeholder="[email protected]" />
</div>
<input type="submit" value="Join">
</form>

This works great until using sections. For example, if I have two sections, then the data from the first section is submitted, but not the subsequent sections. Any guidance to resolve this is much appreciated.

0

There are 0 best solutions below