• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Progress Bar?

Re:Progress Bar? 7 years 6 months ago #35726

octavian wrote:
Hello,

Try the following:
- Put the loading "gif" image (You can use: www.ajaxload.info/ to generate your own animated image, I find it pretty useful) in a FreeText component. Use the following HTML code in the "Text" field:
<div id="loading" style="display: none">Please wait, we are processing your request <img src="path/to/your.gif" alt="" /></div>


- Add another FreeText component for the Javascript:
<script type="text/javascript">
function display_loading()
{
document.getElementById('loading').style.display = 'block';
}
</script>

- Finally, move to the Scripts section, and add this code to the "Script called on form display" area:
$formLayout = str_replace('<form method="post"','<form method="post" onsubmit="display_loading();"',$formLayout);

Let me know how this turns out :)

Hello octavian!
your code works but does not work if you have enabled ajax validation
Can you help?
The administrator has disabled public write access.

Re:Progress Bar? 7 years 2 weeks ago #36615

  • lukasm
  • lukasm's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
I have the same problem.
Is it possible to show the percentage of downloads?
Last Edit: 7 years 2 weeks ago by lukasm.
The administrator has disabled public write access.

Re:Progress Bar? 2 years 7 months ago #41495

  • modernmagic
  • modernmagic's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 32
  • Thank you received: 2
octavian wrote:
Let me know how this turns out :)

I tried this with RSForm! Pro 3.0.10 but the gif does not show.
Warning: Spoiler! [ Click to expand ]


I can see the code and gif in the source code but it stays hidden with display:none.
Last Edit: 2 years 7 months ago by modernmagic.
The administrator has disabled public write access.

Re:Progress Bar? 2 years 3 months ago #41687

  • modernmagic
  • modernmagic's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 32
  • Thank you received: 2
deleted
Last Edit: 2 years 3 months ago by modernmagic.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!