input submit attributes html code example
Example 1: how to collect input textbox in html
<label for="name">Name:</label>
<input type="text" id="name"><br><br>
Example 2: add submit to input
<!-- put this line of code inside of your input -->
onchange="this.form.submit()
<!-- EXAMPLE -->
<input type="checkbox" onchange="this.form.submit()">