Override native button click

Is it possible to override a native button click in Kinetic? If a user clicks OK on a page, I would like to do additional processing before the page exits. If the processing fail, I want to keep the user on the page and display a message. If the processing is successful, continue with native OK event and additional native functions in the OK event.

It is definitely possible!

Do a trace and find which event runs when you hit OK, create a new event that triggers Before that event (Type: Event, Hook: Before, Target: your OK button click event), then do your processing. If it needs to stop, use event-cancel (or maybe exit?) to prevent subsequent events from running

2 Likes