Hello everyone, I’m trying to create a button to resend a code that I need to verify a user.
The behavior goes something like this:
The user registers, sends an SMS and if he does not receive it, he can press the REEND MESSAGE button.
However, I would like this button to be clickable, only about every 30 seconds, to prevent someone from sending text messages endlessly.
I save in my DB the time when the user sent the message the first time and I tried to insert this control (photo attached), but unfortunately it doesn’t work.
I assumed that it doesn’t work because the current time is only updated when I refresh the page, but I would like it to update dynamically. How can I do this in bubble? Thanks in advance to who will answer me