I have some needs that I don’t know if I can solve them directly with Wappler
A Query Insert form has a numerical select from 0 to 20 to choose how many seats you want to book
The form calculates and displays the availability when the page is opened, but it could of course vary during the purchase process
- A first problem is this
For example, if the availability is 14, I would like the range of the select options to change from 0 to 14 - But the most important problem is this:
Let’s assume that the user has made his choice (4 seats), the procedure first blocks availability by changing the available seats in the database and then completes the order.
However, if at the time of purchase before making the payment by choice or due to an unforeseen event, I need to cancel the order after a certain time and update the availability again (adding what was previously removed
In practice, since it is very likely that there will be several users connected in a given period, what you want to avoid is that availability is incorrectly updated and therefore excess orders are accepted.
Has anyone had similar needs?
Thank you all