• 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: RS Forms two fields calculations

RS Forms two fields calculations 11 years 11 months ago #17761

  • t.shah
  • t.shah's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hi, i have below code in which two fields values are multiplied and shown in 3rd field with submit button. how to change this code to work for another group of fileds. say. field 1*filed2 result is in total. similarly field3*filed4 result is in total1.
Below code is working fine for filed1*field2. now what about field3*field4.

onclick="document.getElementById('total').value = parseInt(document.getElementById('Field1').value) * parseInt(document.getElementById('Field2').value);"

I will really appreciate for the help as i am in on the RSForm demo site. and really stuck.

Regards
Last Edit: 11 years 11 months ago by t.shah. Reason: spelling errors
The administrator has disabled public write access.

Re: RS Forms two fields calculations 11 years 10 months ago #17784

Hello,

I would say you need to change element total to total2, Field1 into Field3 and Field2 into Field4
Regards
Wilco Alsemgeest

Please note: my help is not official customer support. To receive your support, submit a ticket by clicking www.rsjoomla.com/my-support-tickets.html
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!