I created a web app through google app script, which could generate a table of data for users to select for calculation. So I would generate a table with values and checkboxes through google sheet.(the table size may differ between users). There is my sample code.
<form role="qryForm" method="post" action="<?!= ScriptApp.getService().getUrl() ?>">
<button class="btn btn-success" type="submit" value="Submit">
<table>
<tr>
<td><input type="checkbox" onchange="changeName(this)" name="uncheck" value ="100"></td>
<td>100</td>
</tr>
<tr>
<td><input type="checkbox" onchange="changeName(this)" name="uncheck" value ="200"></td>
<td>200</td>
</tr>
</table>
</form>
When the checkbox is clicked, a small function will change the name of input to be "checked".
However, when the submit button is pressed, only the checked parameter is returned to the server. I looked at the event object (e.parameters), it dose not return the values under the name of "uncheck"
I am expecting to get something like: check:[1,2,3,4], uncheck:[5,6,7,8]
How do I get it down? or how do I get the values of all checkboxes in google appscript?