Skip Navigation

[Resolved] Show a popup on form submit before redirection

This thread is resolved. Here is a description of the problem and solution.

Problem:

I was wondering if there is a way to show a custom popup that shows a sand timer or an animation when the user clicks on the submit button and disappears when the user gets directed to the new page?

Solution:

There isn't such kind of built-in feature within Toolset Forms plugin, as you mentioned above, it needs custom codes.

Relevant Documentation:

This support ticket is created 3 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by himanshuS 3 years, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#1988353

I have a form that has a decent amount of custom processing on form submit that takes around 5-7 seconds to complete. It all works well and the user is eventually directed to the post (as intended) after the processing completes.

I have hooks on cred_save_data and cred_form_submit_complete so the user does not see any message while the system works in the backend. I was wondering if there is a way to show a custom popup that shows a sand timer or an animation when the user clicks on the submit button and disappears when the user gets directed to the new page?
I was thinking of creating a popup in elementor (or anywhere else) and calling it in the cred_save_data hook (priority high) but I am not sure what is the right way to do that. Also, I don't know if there is a better way to show the popup without custom code.

Please advise.

#1988631

Hello,

There isn't such kind of built-in feature within Toolset Forms plugin, as you mentioned above, it needs custom codes.

And there is a workaround, you can enable the option "Submit this form without reloading the page (use AJAX)", then it will display a text message before redirect:
Please wait....you are being redirected

#1989035

My issue is not resolved.