Support the ongoing development of Laravel.io →
Eloquent Validation Architecture
Last updated 2 years ago.
0

I could eventually use several foreach loops and use nested if's to get this working but if someone would be able to tell me how to synchronise models the professional way that would be great :)

What I have so far:

  • each week has a data-attribute start week (which gives the dat of monday)
  • each child form control input (mon to sun) has their date set in a data-attribute
  • as weeks can be added dynamicly I can't really use id's to check the sync(array(id1, id2, ... idn) method
Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

goowikns goowikns Joined 18 Jun 2014

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.