• 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: Problems after restoring a form

Problems after restoring a form 10 years 3 months ago #30321

  • valxris
  • valxris's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Hello,
I have some problems after restoring a form.
This form has some javascript:
-to calculate the difference between two calendars
-How to add a quantity functionality to a PayPal form scenario.
However suddenly they don't function.
Dates value is "0" and total is only the price without a quantity.
I checked all script form_id and fields name i even made from begining.
What could be wrong?

I also tried a ready form (the paypal form).
Maybe it is a javascript conflict but i did not install or update anything at my site before
this stop working.
url:

Thank you for your help
Last Edit: 10 years 2 months ago by valxris.
The administrator has disabled public write access.

Problems after restoring a form 10 years 3 months ago #30335

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
As far as I can see, you have an window.addEvent(dom ready...) script which is causing problems. Please note that your template is not loading the mootols library and you will have to adjust the scripting accordingly, it would be better to switch to jQuery.

you can use a
jQuery(document).ready(function(){
 
//code here
 
});

Also, please note that you have other issues with your script. For example, your script has a document.getElementById('total'), but you don't have such an id in your form, your correct ID is Total. Most likely there are some other minor issues as well and you will need to revise it all.
My help is not official customer support. To receive your support, submit a ticket by clicking here
The administrator has disabled public write access.

Problems after restoring a form 10 years 2 months ago #30349

  • valxris
  • valxris's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Thank you
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!