Hard to believe the number of replies to derive at such a simple answer lol.
Like the array json thing one day, pages to finally figure out. Glad OP got it though.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hard to believe the number of replies to derive at such a simple answer lol.
Like the array json thing one day, pages to finally figure out. Glad OP got it though.
simple answer! it took me about 20 minutes to completely restructure the form with the table rows, plus write a new function to store the values.
Sure i missed a couple of bits, such as not giving the checkbox a value but thats what happens when you cannot actually test what you are writing and its just going down blind.
@jlrdw you claim to be following along with your popcorn but you never seem to actually grasp what is going on
@cronix thanks for helping this over the line whilst I was away trying to get some work done
I saw right away
<td><input type="checkbox" name="confirmed" @if ($call->confirmed) checked=checked @endif></td>
But you guys were already well involved.
Again I do not like blade repeat I do not like blade. It seems to mess things up more than help sometimes.
The way I showed of handling a checkbox I have done that for years, really never had a problem. I used to use an if else but @bashy helped me with the ternary a while back.
Just to confirm my assertion ....
Go back and compare the OP's original code with my rewrite. You are commenting on 0.5% of the problem.
Please or to participate in this conversation.