Display progress bar (or something similar) until the result form is complete?


I have a large form that will display results after executing various queries.

But since it take some time to display the results, the user could think there is something wrong.

Is there a way to display something while the form performs all queries? a message, a lightbox, a popup, anything?

If you go to https://incofin.yourwebapp.it/cross-reference/ and search for “a229c” you will see what I mean:

  • 1. the message “Se non sono state trovate…:” should be displayed when there are no results, but it is displayed as soon as page loads because it displays when some value are zero. When you start a new search all values are set to zero. It will disappear when some values change to something different from zero.
  • 2. the page loads result slowly; it can take 5 or 6 seconds to render

Is there a way to hide the message in 1. so that it appears only after the form execute all operations?

Is there a way to display something while the form displays the results (2.)?



The page I need help with: [log in to see the link]


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer