This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

programmer.perl63415
programmer.perl63415

Hi everyone, How I can listen/catch the data-request="formVideo::onAddItem" in a Plugin.php's boot() method?

In a backend, there is a Repeater widget and it has a button ( https://i.imgur.com/gORjH26.png ). I need to catch the event of this button in a boot() method of a Plugin.php.

Last updated

mjauvin
programmer.perl63415
programmer.perl63415

mjauvin said:

Try this event.

https://octobercms.com/docs/api/cms/ajax/beforerunhandler

Thank you! More precisely I needed for 'backend'. https://octobercms.com/docs/api/backend/ajax/beforerunhandler Anyway, you pointed me in the right way.

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.