• 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: Button reset URL redirection

Button reset URL redirection 6 years 11 months ago #36806

Hi all,

I wish used the reset button to redirect to a specific URL, in fact the expected behavior of the reset button is to quit the form. I have tried to add the following code into the additionnal attribute box:

javascript:onclick="document.location.href='mypage.com'"

I have also created a specific button with this code, without success. When I click on button nothing happens. To resume, I want have into te form the send button with the common behaviour and an another button to quit the form.

Thank you in advance for your help

Gerard
The administrator has disabled public write access.

Button reset URL redirection 6 years 11 months ago #36816

  • dragos
  • dragos's Avatar
  • NOW ONLINE
  • Administrator
  • Posts: 557
  • Thank you received: 102
Hello,

You can use the regular "Button" form field and add in the "Additional Attributes" tab the following line:

onclick="window.location.href = 'your link here';"
The administrator has disabled public write access.
The following user(s) said Thank You: g.latapie

Button reset URL redirection 6 years 10 months ago #36843

Hello,

Sorry for delay of my answer. In fact I have prefixed onclick, by javascript:, just a confusion from my side with explanation into field description of RSForm documentation.

Thank you for your answer.
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!