Navigation überspringen

[Gelöst] Show a custom message when a CRED form submission in progress

This support ticket is created vor 3 Jahre, 6 Monaten. 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
- 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 -

Zeitzone des Unterstützers: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 1 Antwort, hat 2 Stimmen.

Zuletzt aktualisiert von Minesh vor 3 Jahre, 6 Monaten.

Assistiert von: Minesh.

Author
Artikel
#2260573

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?

#2260887

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

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: versteckter Link