• 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: Field calculation depending by conditional fields

Field calculation depending by conditional fields 10 years 1 month ago #30787

  • filippo.bracci
  • filippo.bracci's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 1
Hello,

I have to make a simple calculation between fields, but one field is conditional and it depends by another field.

I explain better:

I have 3 fields:

- Guided tour (Drop down with this items: Red, White, Green)
- Bike rent (radio button with yes - not)
- Number of participants (Drop down with: 1,2,3,4,5,6)

The field "Number of participants" depends by the selected "Guided tour"

To do that I have made a conditional fields:

If Guided tour is "Red" or "White", the dropdown "Number of participants min1" presents value from 1 to 6,
if the Guided tour is "green" the dropdown "Number of participants min2" presents only value from 2 to 6.

In fact, I have made 2 dropdown list to manage the differents values for "Number of participants"

Now the question is:

How can I make a calculation for the total cost of a guided tour?

({guidedtour:value} + {bikerent:value}) * {numberofparticipantsmin2:value}

and what if {numberofparticipantsmin1:value} ?


Could you help me please?

Thanks a lot

Filippo
Last Edit: 10 years 1 month ago by filippo.bracci.
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!