Redirect to Thank you page/Anchor on One Pager after submitting form

  • wuzelina
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0

wuzelina created the topic: Redirect to Thank you page/Anchor on One Pager after submitting form

Hi,

How can I redirect to a thank you page or an anchor on a one page website after the user submits the send button? I tried all solutions proposed in the forum but nothing helped. After submitting the button the page goes up to the top and the confirmation message is not visible when the form is embedded on the bottom of the page. redirection with
$this->execPieceByName('ff_InitLib');
JFactory::getApplication()->redirect(' www.yourDomain.com/page.html ', 'parent');

is not working.
A modal box or pop up would be also nice. This solution works but it does't look nice, looks more like an error message.

thank you for any help in advance.
#234560
  • MarioPuco
  • MarioPuco's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 5450
  • Karma: 114
  • Thank you received: 501

MarioPuco replied the topic: Redirect to Thank you page/Anchor on One Pager after submitting form

Hi,

Please check this solution : crosstec.org/en/forums/30-tips-tricks/11....html?start=6#181878
You should have no problem adjusting it so it fits your needs.

Regards,
Mario

Satisfied with our Support ?
PayPal Tip
===============================================
Need to renew Pro Support?
Buy Here!
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
#234566
Moderators: ForumSupporttomeperica
Time to create page: 0.035 seconds

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here

News and Updates

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

All Extensions Subscription

Get 1 year access to all of our current and future products and 1 year of professional support -- 99€

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!

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here