How to save checkbox values for logged in users?
-
Hello, sorry to bother you but I was hoping you could possibly help me with some code talk. How would I add a checkbox with saveable values, per user?
To explain more – I have various table checklists and I want to have a column for checkboxes next to the entries. When a user finishes a task on the list, they would be able to tick one of the boxes to signify completion. That value should then be saved to the database, either automatically or by clicking a save button. When the user returns to that page later on, the boxes that they selected should remain.
I know how to insert a clickable HTML box, but that’s the extent of my coding knowledge. (Although I’m not entirely sure what values to include in that HTML for saving purposes.)
<input id="example" name="example[]" type="checkbox" value="example">
I know I’ll need more than just HTML obviously. Could you maybe help me out with this? I tried doing research on the matter and it’s a bit over my head. If you could go into a bit of detail, I’d really appreciate it, I know next to nothing about coding.
Please and thank you! (Apologies if this is a lot to ask!)The page I need help with: [log in to see the link]
- The topic ‘How to save checkbox values for logged in users?’ is closed to new replies.