Currently, when creating a FormData object, the checked flag has been added with the value "on", and the unchecked flag is not passed at all.
Do I need to hack some hidden inputs in order to correctly check the boxes, or is there some kind of setting that I can do with FormData or preprocessing?
I would prefer the checked flag to be 1 and unchecked to 0. I can already do it myself (i.e. an ugly hack), but I don't see any native path with FormData.
source share