What is the code to generate the "Waiting" icon between pages ?

  • Andrea
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
6 years 9 months ago #117770 by Andrea
Hi Tuan,

I wanted to ask if you could tell me what is the piece of code (javascript ?) that generates the "moving circle" that appears when you change pages in the group registration form.

I would like to implement (add) the same code to the end of my registration forms, when my users press the "submit" button.

As an alternative, I think that disabling the submit button woud work as well.

Thank-you!

Kind Regards Andrea.

Visit my page! www.elementotango.it

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #117778 by Tuan Pham Ngoc
Hello Andrea

It's some kind of javascript, jquery code. You can look at components/com_eventbooking/themes/default/register/number_members.php to see the full code:
Code:
$('#btn-process-number-members').after('<span class="wait">&nbsp;<img src="<?php echo JUri::base(true);?>/media/com_eventbooking/ajax-loadding-animation.gif" alt="" /></span>');

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Andrea
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
6 years 9 months ago #117785 by Andrea
o_O ..Oh.

OK thanks Tuan.
Regards Andrea.

Visit my page! www.elementotango.it

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #117787 by Donal

Andrea wrote: As an alternative, I think that disabling the submit button woud work as well.

I also had this bug, which came with one of the recent versions. Tuan fixed it for me, and now the submit button on the checkout page gets disabled when a user clicks on it.
The following user(s) said Thank You: Andrea

Please Log in or Create an account to join the conversation.

  • Andrea
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
6 years 9 months ago #117849 by Andrea
Hi Donal, thank-you for this follow-up. Do you have an idea what changes Tuan applied to your site, and where ?

Thanks!

AG

Visit my page! www.elementotango.it

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #117850 by Tuan Pham Ngoc
Hi Andrea

Could you send me the link to registration form so that I can take a quick look? And what's the payment method you are using?

I would say the submit button should be disabled on submit. If not, I will check and add code to have it works like that in core package

Tuan

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #117858 by Tuan Pham Ngoc
Hi Andrea

Just want to be sure, you are talking about the submit button on group registration? If so, I implemented the code to disable that button on submit. It will be included in next release of Events Booking (should be released at the beginning of next week)

Tuan

Please Log in or Create an account to join the conversation.

  • Andrea
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
6 years 9 months ago #117861 by Andrea
Hi Tuan, yes I'm speaking about the submit button on both individual and group registrations. If the enhancement is already included into the next release, then it's fine for me and I'll be waiting the next release.

Thanks!

Andrea.

Visit my page! www.elementotango.it

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #117862 by Tuan Pham Ngoc
Hi Andrea

The code for Individual Registration should have the submit button disabled on submit already.

For group registration, I implemented it this morning and as mentioned, it will be available in next release 3.8.0

Maybe you can send me link to individual registration form on your site so that I can look at it?

Tuan

Please Log in or Create an account to join the conversation.

  • Andrea
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
6 years 9 months ago #117863 by Andrea
Hi Tuan, no worries, no need to jump on this one now. We have closed now the individual registrations as we have occupied all the single rooms, so we're running the group registrations only at the moment.

For the group one, it's OK for the next release for me. No worries!

Thank-you!

Andrea.

Visit my page! www.elementotango.it

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc