• 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: Advice on Calculations

Advice on Calculations 12 years 8 months ago #18649

  • tasos26t
  • tasos26t's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hi,

I created a calculation form that should calculate 3 results. I am able to get the result for the first calculation but i don't get the results of the other 2. I know there is something wrong with the syntax. I will appreciate any assistance on this.


onclick="document.getElementById('MonthlyRebateAmount').value = ((21*parseInt(document.getElementById('Volume').value)*parseFloat(document.getElementById('CashBackRate').value)*parseInt(document.getElementById('TradesPerDay').value))/10);"

onclick="document.getElementById('YearlyebateAmount').value = ((21*parseInt(document.getElementById('Volume').value)*parseFloat(document.getElementById('CashBackRate').value)*parseInt(document.getElementById('TradesPerDay').value))/10);"

onclick="document.getElementById('YearlyPips').value = ((21*parseInt(document.getElementById('Volume').value)*parseFloat(document.getElementById('CashBackRate').value)*parseInt(document.getElementById('TradesPerDay').value))/10);"

Also I would appreciate any advice on how to show these 3 values on the same page with fields rather than the thank you page.

Regards,
Tasos
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!