On Dec 13, 9:04 pm, Leon <klepf...@gmail.com> wrote:
> Hello,
>
> So in my app I have Patients and I have Groups and each Patient can be
> in many Groups and each group can have many patients. That's fine.
>
> I've got the multi-select setup on the View and that works fine too.
>
> However, I need to make some API calls in my controller when a Patient
> is edited.
> And so I need to find out what changes where just made by the user to
> their Group associations.
> Ie. Add this Patient to this Group and delete from that Group.
>
> Is there an obvious way to get this info that I'm missing?
> Just can't figure it out.

why don't you just simply compare the existing db data with what the
user submits before saving.

AD

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to