How can I add a confirmation message when clicking a button (in this case a Call API button used to activate a webhook) so the user has the chance to cancel or continue (and also to catch accidental button presses).
Thanks so much in advance
How can I add a confirmation message when clicking a button (in this case a Call API button used to activate a webhook) so the user has the chance to cancel or continue (and also to catch accidental button presses).
Thanks so much in advance
Unfortunately this is not an option out of the box.
Thanks for the reply. Your wording implies there is a workaround, maybe with some coding? If so, can you point me in the right direction, or have I misunderstood?
Normally there is a work around given how flexible Softr is, but nothing comes to mind with this specific approach. I’m sure there is something though if you think outside of the box here.
@Vera_the_cat @Jjenglert—We get around this by using a form with no visible fields or a “checkbox” field to confirm the action. Then, whatever business logic you need to run (calling an API, etc.) can be done on the back-end based on the update to the hidden field in the form.
The extra line visible in the screenshot can be hidden using CSS for these cases.
Ah, that’s neat!!! Thank you for sharing this =)