init input value submit code example
Example 1: intput field submit button
<label for="fname">First name:</label><br>
<input type="text" id="fname" name="fname"><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()">