Answers for "how to submit a checkbox"

2

submit form when checkbox is checked

onChange="this.form.submit()"
Posted by: Guest on April-02-2020
0

checkbox onchange submit form

<form method='post' action='#'>
<input type='checkbox' name='checkbox' onChange='submit();'
<?php if($page->checkbox_state == 1) { echo 'checked' }; ?>>
</form>
Posted by: Guest on June-13-2020

Code answers related to "how to submit a checkbox"

Browse Popular Code Answers by Language