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

Calculations 11 years 4 months ago #25904

  • adam14
  • adam14's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Is it possible to do more complex calculations in the RSForm!Pro calculation field?

This is what I want to achieve:

(Value 1 + Value 2) - 10% =
(Value 1 + Value 2) - 15% =
(Value 1 + Value 2) - 20% =
(Value 1 + Value 2) - 25% =

The percentage is variable, and is a discount based on how many people are attending the event. If 2 kids attend it's a 10% discount, 3 = 15% discount, and 4 is a 20% discount.

But I want the total cost calculated in just one field.

My dilemna seems to be that the discount % is variable, based on the number of children which is defined in another field.

I am not sure how to make this discount variable in the calculation. Would it need an IF / OR statement in there somewhere and can RSForm!Pro do this?

Thanks for any help.
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!