Don't scroll to top on Form Submit

  • Posts: 65
  • Thank you received: 0

Philippe66 replied the topic: Don't scroll to top on Form Submit

hi, thank you for your answer, but it still does not work, but the form did not leave before and now yes! But after sending it, the page remains at the top and does not go down on the form?
Should you install a jquery plugin?
thx
#240618
  • Posts: 8405
  • Karma: 164
  • Thank you received: 669

TheMuffinMan replied the topic: Don't scroll to top on Form Submit

Hi,

strange, this should work.
Can you please post me a link to the form?

Regards,
Markus

===========================
If you are happy, please leave us a small review here to keep us motivated:
(Please turn off your VPN and local Apache prior reviewing as your review might get blocked)

⭐⭐⭐⭐⭐ BreezingForms: extensions.joomla.org/extension/contacts...orms/breezing-forms/
⭐⭐⭐⭐⭐ ContentBuilder: extensions.joomla.org/extension/authorin...tion/contentbuilder/

===========================
Satisfied?
Get a membership!
===========================
#240631
  • Posts: 65
  • Thank you received: 0

Philippe66 replied the topic: Don't scroll to top on Form Submit

hi
This message contains confidential information


Thx ;)
#240673
  • Posts: 8405
  • Karma: 164
  • Thank you received: 669

TheMuffinMan replied the topic: Don't scroll to top on Form Submit

Hi,

can you please try it like this? (without the script tags).
I get a javascript error, those tags might be the reason as the script is already rendered within a script tag:
function ff_conseiller_submitted(status, message){if(status==0){ff_switchpage(2);}else{alert(message);}}

<?php
if( JRequest::getVar("ff_form_submitted", 0) == 1 ){
echo '
   jQuery(document).ready(function(){
      self.scrollTo(0,999999);
   });
';
}
?>

Please let me know when you changed this.

Regards,
Markus

===========================
If you are happy, please leave us a small review here to keep us motivated:
(Please turn off your VPN and local Apache prior reviewing as your review might get blocked)

⭐⭐⭐⭐⭐ BreezingForms: extensions.joomla.org/extension/contacts...orms/breezing-forms/
⭐⭐⭐⭐⭐ ContentBuilder: extensions.joomla.org/extension/authorin...tion/contentbuilder/

===========================
Satisfied?
Get a membership!
===========================
#240681
The following user(s) said Thank You: Philippe66
  • Posts: 65
  • Thank you received: 0

Philippe66 replied the topic: Don't scroll to top on Form Submit

hi,
a big thank you it works again !!!
thx THEMUFFINMAN !!!
#240686
  • Posts: 8405
  • Karma: 164
  • Thank you received: 669

TheMuffinMan replied the topic: Don't scroll to top on Form Submit

Hi,

I am happy to hear that.
Please make sure to support the project leave us a review here:
extensions.joomla.org/extension/contacts...orms/breezing-forms/

Thanks & Regards,
Markus

===========================
If you are happy, please leave us a small review here to keep us motivated:
(Please turn off your VPN and local Apache prior reviewing as your review might get blocked)

⭐⭐⭐⭐⭐ BreezingForms: extensions.joomla.org/extension/contacts...orms/breezing-forms/
⭐⭐⭐⭐⭐ ContentBuilder: extensions.joomla.org/extension/authorin...tion/contentbuilder/

===========================
Satisfied?
Get a membership!
===========================
#240691
Moderators: ForumSupport
Time to create page: 0.059 seconds

We Are Doing Our Part

Massive discounts on all of our extension subscription plans to help you and your business in these times.

Get Your Subscription Here

New Icon Packs Category!

Crosstec is now offering icon packs.

If you are a paying subscriber, icon packs are automatically added to your account.

Check out our icon packs page!

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

We are doing our part and support your business with extremely low prices -- For example 6-Months-Subscription for only $9 USD. For as long as necessary.

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!