Jump to content


Tracking update changes

update callback

  • Please log in to reply
No replies to this topic

#1 Cmcanuck

Cmcanuck

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 15 November 2012 - 06:15 PM

I've been tasked with tracking the individual column changes a user makes to a row on an edit page. So if a user edits an entry and changes two values (out of many) then two entries would appear in a "changelog" table showing before and after values for what field and what entry.

Ideally I could do this through a callback, as I'd have access to most of what I'd need, but it would only offer me the state of the fields as they are at that frame in time, not what they started as when the page loaded. If there was a "callback_after_load()" I could duplicate that post_array and compared it later in a callback_after_update(), but I don't know that such a callback exists.

Am I over or underthinking this? Some functionality that I'm not aware of? Thank you for any assistance you can lend.





Also tagged with one or more of these keywords: update, callback

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users