L
Luc
Hello,
I would like to use a checkbox in a form for a boolean field (mysql type :
tinyint(1)), but when i write :
<input type="checkbox" name="notify" value="{NOTIFY}" >
the box is not checked if the value of the field is already equal to 1.
What did i do wrong ?
(If i write : <input type="text" name="notify" value="{NOTIFY}" > , then
the form shows "1")
Thanks for your help
I would like to use a checkbox in a form for a boolean field (mysql type :
tinyint(1)), but when i write :
<input type="checkbox" name="notify" value="{NOTIFY}" >
the box is not checked if the value of the field is already equal to 1.
What did i do wrong ?
(If i write : <input type="text" name="notify" value="{NOTIFY}" > , then
the form shows "1")
Thanks for your help