Hey everyone!
I’m using the modx evolution and i’m getting tired of searching for a way to call a function before the document is saved by the user...
If you click on the save button the following onclick event is triggered:
documentDirty=false; document.mutate.save.click();
Is there any way without hacking the core to trigger a function before? Background: I want to check a bunch of TVs which are related to each other (e.g. tv_1 is true, tv_3 and tv_4 have to be filled with text and so on).
I don’t want to use front end editing... just the manager...
tips & tricks are welcome
Cheers,
Chris