• 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: Download File Button?

Download File Button? 14 years 3 months ago #9765

I am developing a website ecommerce site for a client and want to use RSForm primarily - is there a way to have someone submit their information and then instead of clicking "submit" they can click a button that can download the file they are sending in their informaiton for?
The administrator has disabled public write access.

Re:Download File Button? 14 years 3 months ago #9771

  • andreic
  • andreic's Avatar
  • NOW ONLINE
  • RSJoomla! Official Staff
  • Posts: 733
  • Thank you received: 60
Hello,

You can use a normal submit button and transform the "Thank you" page in the download page by going to Components > RSform!Pro > Manage forms > select your form > Edit form > Edit the Thank you message and adding this code :
Thank you, your download will start automatically...
 
<script type="text/javascript">
if (document.location.href.indexOf('task=forms.edit') == -1)
document.write('<iframe src="your_download_link" size="0" width="0" height="0" style="display: none"></iframe>');
</script>
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
Last Edit: 14 years 3 months ago by andreic.
The administrator has disabled public write access.

Re:Download File Button? 13 years 2 months ago #13052

That code only works for Firefox and doesn't work for Internet Explorer nor Chrome. Please see: www.ostraining.com/blog/joomla/osdonate/. Any alternative solution would be greatly appreciated.
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!