Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Paul de Quant 394 posts 1477 karma points
    Jan 26, 2021 @ 15:29
    Paul de Quant

    Using AngularJS to capture page submit events


    Is there a way in the Umbraco 7 backoffice via Angular JS, where you can catch which of the main event buttons has been clicked. i.e. Save, Save and Publish, Send for Approval etc.

    I need to be able to see what the difference is:

    $scope.$on("formSubmitting", function (e, args) {
            if (args.action) {
                $scope.currentButtonAction = args.action;

    I'm using the above code, which sort of works but want to know if theres a better way of doing it. This coe will get me "save" or "publish", but not send to approver


Please Sign in or register to post replies

Write your reply to: