I was wondering, what’s the difference between on_update
and on_change
regarding Controller Hooks.
Cheers!
I was wondering, what’s the difference between on_update
and on_change
regarding Controller Hooks.
Cheers!
This is ranking high on google.
Can someone please shortly elaborate on this?
Thanks
Can someone please explain this?!
Taking a look at the code, it appears that the difference comes into play around the submissions feature. The on_update hook is only triggered when the form is saved or submitted. The on_change hook is fired in those instances but is also fired when the document is cancelled or when it is updated after submit.
on_change also fires when you delete a document.