submit and input as one css code example
Example: 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()">
<!-- put this line of code inside of your input -->
onchange="this.form.submit()
<!-- EXAMPLE -->
<input type="checkbox" onchange="this.form.submit()">