Answers for "auto submit checkbox html form"

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

Browse Popular Code Answers by Language