form check if checkbox is checked code example
Example 1: submit form when checkbox is checked
<input onChange="this.form.submit()" ... />
Example 2: if checkbox is checked
if ($('#id_input').is(':checked')) { }
<input onChange="this.form.submit()" ... />
if ($('#id_input').is(':checked')) { }