30 May 2022
in reply to
Missing user
Link to this post
Hello Uygar,
I don't believe you can "make the submit event async".
One thing you can do is have a global flag (set to true/false). On the first submit of the form (while the flag is still flase), return false in pre-submit, preventing the submission. Once your async function completes, set the flag to true and submit the form again. You can even have a loading symbol or whatever works best with your UI appear after the first click.
Let me know if you have any questions,
Brady
TPC Web Developer