I have a form where users can send info to me and I have 4 checkbox arrays with 5 - 8 checkboxes each.
When somebody fill out the form and submit it, it saves to a table in the database. And so far it works like a charm. I have this form connected thur ChronoConnectivity and let users view what they have sent to me.
Now to my problem. When a user "opens" his/hers post it shows up in the same form as before. ckeckboxes are filled as they where entered to start with. But i the user uncheck all checkboxes it will not be saved to database. There are no problem with unchecking all but one.
I have search thru this forum and understand that when submitting a changed form no update to empty fields will be done. And I have seen a fix for this by making a field_array and merge it to Post. But I can NOT figure out how to do that.
Can anyone please help me out?
When somebody fill out the form and submit it, it saves to a table in the database. And so far it works like a charm. I have this form connected thur ChronoConnectivity and let users view what they have sent to me.
Now to my problem. When a user "opens" his/hers post it shows up in the same form as before. ckeckboxes are filled as they where entered to start with. But i the user uncheck all checkboxes it will not be saved to database. There are no problem with unchecking all but one.
I have search thru this forum and understand that when submitting a changed form no update to empty fields will be done. And I have seen a fix for this by making a field_array and merge it to Post. But I can NOT figure out how to do that.
Can anyone please help me out?