Update Multiple checkbox if it checked or not |
cant tell you for checkbox but the logic (at least for CI4.2.6) is similar to choice from a drop down.
the way I do update is to get current data from a database and populate it into a form, if there is text to update. IN a form I also have a drop down Code: <select id="category" name="category"> in a controller i get choice by user: Code: $category= $this->request->getVar('category'); I then use that to update db. checkbox and updating is going to be similar. |
Messages In This Thread |
Update Multiple checkbox if it checked or not - by MurbiesWalto - 10-07-2022, 04:36 AM
RE: Update Multiple checkbox if it checked or not - by captain-sensible - 10-08-2022, 03:13 AM
|