Support the ongoing development of →
Database Forms Eloquent
Last updated 2 years ago.

If you wat to update the value of the boolean column based on whether a checkbox is checked you can use the boolean method of the request object.

$archived = $request->boolean('archived');

If you wan to update the values automatically after clicking on the checkbox you'll have to do that with javascript.


Hello Ordago,

I Have Done With Retrieving Value Of Checkbox, Now I Have Show All My Data In A Table, That I Have Fetch From Database Using Laravel

Now I Have To Just Update My Checkbox Value In That View Table Only Whenever Someone Click On That Checkbox, The Value Should Get Updated On Database.

Should I Have To Use Javascript?


There are many possible ways to update the database of checkbox and to do this larval is the best option. Instead of this you can get ideas from coursework help uk to get the correct updates on the database.

janejlocane, ronald3tolkien3 liked this reply


Sign in to participate in this thread!


Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.