• 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: JavaScript help needed

JavaScript help needed 16 years 9 months ago #4974

  • richiep
  • richiep's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 131
Hey All,
I had someone write a JavaScript for me when I was using the old version of RS Form. After I upgraded to RSForm Pro the script stopped working. I've written to tech support and they have refused to help me.

If someone could help me get this working again our non profit would appreciate it.

The form is here
www.communitycycles.org/index.php?option...d=5&Itemid=99999

and the broken script is here
communitycycles.org/js/BikeDonation.js

Please help.
Thanks
Richiep
The administrator has disabled public write access.

Re:JavaScript help needed 16 years 9 months ago #4990

  • octavian
  • octavian's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 783
  • Thank you received: 110
Hello Richie,

We provide technical support (defined as: bugs, issues, compatibility problems and everything related to making the product work on your Joomla! installation). The customization services you require are beyond what we define as 'support'.
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:JavaScript help needed 16 years 9 months ago #5010

  • richiep
  • richiep's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 131
Someone please help!
The administrator has disabled public write access.

Re:JavaScript help needed 16 years 9 months ago #5013

  • octavian
  • octavian's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 783
  • Thank you received: 110
Hello,
function setGiftTypeField(form)
{
	if (form.elements['form[BIKEDONATION][]'].value > 0)
	{
		if (form.elements['form[parts][]'].checked == true)
			form.elements['form[gift_type]'].value='BikeDonationAndParts';
		else
			form.elements['form[gift_type]'].value='BikeDonation';
	}
	else if (form.elements['form[parts][]'].checked == true)
		form.elements['form[gift_type]'].value='parts';
}

This should be the new javascript code.
Also, the \"Parts\" checkbox and the \"Bikes Donated\" dropdown should have this set as additional attributes:
onchange=\"setGiftTypeField(this.form);\"
The additional attributes you have currently set are not valid and will never work (onChange=setGiftTypeField(this.form))

Please note that this is, once again, a customization our development team has done for you in spare time.<br><br>Post edited by: strafe, at: 2008/10/09 16:08
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.
  • 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!