In my form there are different checkboxes. If I check them, db save gives the value 1. But if I first check them and in a second step uncheck them - db save gives again the value 1 (and doesn't change to 0 or empty)
The user should have the posibility to check the checkbox - than db save - than uncheck - db save.
How can I solve this problem?
Thank you for an answer.
The user should have the posibility to check the checkbox - than db save - than uncheck - db save.
How can I solve this problem?
Thank you for an answer.
Hi Hcohl,
An unchecked checkbox does not submit anything when the form is submitted so the existing value will be kept. ChronoForms has a 'ghost' option where you can set an 'unchecked' value - if you set this to 0 then you will get the result that you want.
Bob
An unchecked checkbox does not submit anything when the form is submitted so the existing value will be kept. ChronoForms has a 'ghost' option where you can set an 'unchecked' value - if you set this to 0 then you will get the result that you want.
Bob
This topic is locked and no more replies can be posted.
