R
R
rapidum_alder2020-04-29 21:17:11
PHP
rapidum_alder, 2020-04-29 21:17:11

How to submit the unchecked checkbox form?

I have a dynamic page which generates a table.
Each line of the table has an edit element.
When clicked, a popup window pops up with a form that is generated in php.
And on some elements there is input type="checkbox"
But the problem is that when submitting the form, the checkbox that was unchecked is not specified.
I don't want to do a big load on the database to check what's on and what's off.
So is there a standard method for submitting the unchecked checkbox form?

I really don't want to create a form using JS.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor, 2020-04-29
@rapidum_alder

About what big loading on a DB you speak? Set the default value for the column and that's it. There is no load.
Here is an example SQL DEFAULT Constraint

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question