how to trigger cancel button with an event?

how to trigger cancel button with an event?

martinbruckner77martinbruckner77 Posts: 1Questions: 1Answers: 0

Hello everybody!

If the edit form is open and the user clicks "Cancel" I would like to trigger an PHP Event.

Any ideas from the specialists here :)

Thank You
M

Answers

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin

    You presumably have something like:

    { text: 'Cancel', action: function () { this.close(); } }
    

    in your code to make the cancel button show? If so, then inside that action function is where you would trigger any external actions you need.

    Allan

This discussion has been closed.