Hello,
I am having trouble getting multiple data saving to the database from a check box. The only data showing is the last box ticked. How do I get all boxes ticked to save into the database? Thanks!
I am having trouble getting multiple data saving to the database from a check box. The only data showing is the last box ticked. How do I get all boxes ticked to save into the database? Thanks!
Hello Datty,
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
How do I save form data to a database table?
P.S: I'm just an automated service😉
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
How do I save form data to a database table?
P.S: I'm just an automated service😉
Hi Datty,
Please make sure that you have a "Handle arrays" action before the "db save", because checkbox groups submit an array of data.
Regards,
Max
Please make sure that you have a "Handle arrays" action before the "db save", because checkbox groups submit an array of data.
Regards,
Max
i have a handle arrays action set before the db save but i only still get the last ticked box. i'm not too sure what the problem is at this point.
What's your checkbox group name ? did you remove the "[]" ?
yes, fields submitting multiple values should have them!
No, just the form field name!
what error ? you only need to change the field name in the "designer" area, nothing else should be changed!
i think its when i try and have more than one checkbox area on a single form. the first checkbox sends the correct information but the other two send array and causes me to get an sql error when submitting the form.
This topic is locked and no more replies can be posted.