check if checkbox is checked before submit code example
Example 1: submit form when checkbox is checked
<input onChange="this.form.submit()" ... />
Example 2: submit form when checkbox is checked
onChange="this.form.submit()"
<input onChange="this.form.submit()" ... />
onChange="this.form.submit()"