• 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: User redirects to the home page after submit form

User redirects to the home page after submit form 15 years 1 month ago #6914

  • eshban
  • eshban's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hi

i am using Rsforms. I have setup the forms successfully from the admin section and also set the thank you message. But when user visit my website and fills the form and submit the button, then it will be redirected to the home page of the website. Now if user clicks on that form link again, then he will be able to see the welcome message instead of form.

I have also setup the return url

Kindly help me in this regard,. And what can i do so that after pressing the submit button, it cannot redirected me to the home page but displays the welcome message.

thanks
The administrator has disabled public write access.

Re:User redirects to the home page after submit form 15 years 1 month ago #6925

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
Hello,

Just go to components/com_rsform/controller/functions.php around line 953 and replace:

$RSadapter->redirect($_SERVER);

with:

$RSadapter->redirect('index.php?'.$_SERVER);
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Re:User redirects to the home page after submit form 15 years 1 month ago #6970

Alex,

THANK YOU for this little gem! It is exactly what I've been looking for. I know you tried to fix my site a while ago for this exact issue, but given enough time, I knew you'd figure it out! Funny thing is it only happened with IIS.

It works perfectly!

Thanks,
Jeff
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!