>Why is it that the checkbox value in a javascript is always on no matter if it is checked or not?
Ok, I've found the problem.
I didn't the VALUE default in the checkbox field so the javascript was always using on as the value. After having initialized VALUE=0, the javascript is now using 1 or 0 as the value.