• 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: Calculation field

Calculation field 12 years 3 months ago #20909

  • paul2
  • paul2's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
I am using RSForm 1.4.0 and made a calculation field for adding the value of several fields. It works fine.

function calculatetotal(){ var op1=document.getElementById('Spaghetti'); var op2=document.getElementById('Hotdog'); var op3=document.getElementById('Tickets'); var result=document.getElementById('Amount'); result= (op1 * 9) + (op2 * 3) + (op3 * 12) document.getElementById("Amount").value=result; }

However, in the top position of the article with the RSform plug-in there is debug syntax, displaying the calculation formula in the frontend. How can I let this message disapear?
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!