post checkbox php onchange code example Example: submit form when checkbox is checked onChange="this.form.submit()"