Automatically showing a modal when a record is saved

Hi all I've got a resource that includes an api key for a remote service. I'm validating the key when the form is saved but it's a long process that requires multiple API calls. Takes about 5 seconds. I want to give the user some visual feedback while they're waiting. Is there a way of launching a modal when a form is saved and automatically starting an action inside the modal? Or any other ideas? Cheers
3 Replies
LeandroFerreira
LeandroFerreira4mo ago
what about notifications?
binaryfire
binaryfire4mo ago
I guess I could move the api token validation to a job and just show a notification if it fails. Is that what you mean? I was hoping to show a "Validating your API credentials. One moment..." kind of modal.
LeandroFerreira
LeandroFerreira4mo ago
yes, you could send notifications instead of a modal