submit input html code example
Example 1: submit button
<button type="submit" form="form1" value="Submit">Submit</button>
Example 2: submit html
<input type="submit">
Example 3: 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()">