I have a event form and a onClick() function to save the data and I have used the ‘required’ in fields for the input form so when I click the submit button, the data is checked for validation and the thank you light box shows up.
Now if I want to add a ‘saving screen loading icon’ before the thank you light box shows up. How can I do that? I thought I could do onBeforeSave() but that gets triggered even before input validation is done. How to solve this, please?