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: 46,595Questions: 1Answers: 6,507 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

Sign In or Register to comment.