Home › Toolset Professional Support › [Resolved] Show a custom message when a CRED form submission in progress
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 |
---|---|---|---|---|---|---|
- | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10: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/Kolkata (GMT+05:30)
I have a form that shows up on a popup. I am running a resource-intensive query on this form's CRED form's cred_save_data hook. This query takes around 2 minutes to complete.
I am using AJAX to run the query and would like to show a message to the user during the processing time. Something like ... "You request is being processed. This might take up to 2 minutes. You can either wait or close this popup to continue your work.".
How can this be achieved?
Hello. Thank you for contacting the Toolset support.
As you already know that there is no such feature available and you can always submit a feature request for such feature that to display some message after you submit the form.
=> https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/
However, the workaround in your case would be you should add a div with your message and hide it by default using CSS and then add related jQuery/Javascript code and show the div when user click on the form's submit button.
Here is example that may help you: hidden link