How to get email notifications when signups occur when not using a form?

I would like to know how to attach a hook to trigger an email to be sent to myself (and a few of the other regular players) whenever someone clicks the submit button when they sign up to play. The submit button is only linked to the database. I see if I was using a form, I could easily set the email to come to me as a notification, but I don’t see how to do it with this database submit button on the Events page. Could one of you walk me through it?

Thanks for the help. Also, if you want some background on what I did and why I did it, see here: https://www.wix.com/corvid/forum/community-feature-request/viewable-who-s-playing-when-w-signup/p-1/dl-5d15fc5030b27300ff3667c4

Here is a link to the website play page (the form): https://www.jacksoncroquetclub.com/play
Here is a link to the website events page (the table that is populated by the form): https://www.jacksoncroquetclub.com/events

Just use a onAfterSave datahook to achieve it.
https://support.wix.com/en/article/corvid-about-data-hooks
https://support.wix.com/en/article/corvid-using-data-hooks
https://www.wix.com/corvid/reference/wix-dataset.DynamicDataset.html#onAfterSave

Although if you are using Wix Events app, then note that you can only use the following.
https://support.wix.com/en/article/corvid-wix-events-events-collection-fields

Hi givemeawhisky,

Thanks for the links. I read through them and attempted to find javascript code that does what I want (email me and another person using onAfterSave). While I can decipher javascript, I don’t know how to write it and the examples I did find weren’t for my intended purpose. Do you have a resource you can point me to that would help in writing this data hook? I think if I can get the code worked out, I can figure out how to add it (I think).

Thanks for the direction!