[#1045] Access to "Confirm booking" button to trigger action using API

Migrated from Redmine #1045 | Author: Leonardo Chica
Status: New | Priority: Low, I can wait | Created: 2023-04-04


Hi,

I am using Simplybook on my own site and the idea is to check whenever a person makes a booking if his/her email already exists on my database.
In this case, I am using the API to retrieve the last booking added and compare with my list of emails from the database. I would like to trigger this action by adding an event listener whenever the “Confirm booking” button is clicked. However, I cannot access the button element.

Can you please help with it or suggest any workaround for this scenario?

Thank you,

Leonardo