Accessing form values after saving
i need to monitor the change of a field in the form inside the afterSave() method, i know i can access the values via $this->record. But I don't know how I can access the original values and the modified ones. How could I do?
6 Replies
$this->record
$this->data
?which of these two gives me the original field and which the modified one?
data = form fields
record = model
should I use the before save or after save to see the changes made to the fields?
$this->data
is available before and after saveAlright thank you