Custom calculation
-
I am building a huge form with a lot of validation and conditions. In this form users can select their days (Monday, Wednesday, Thursday & Sunday). They need to select at least one and maximum three days. The price changes depending on the amount of days that were selected. One day equals to 80 euros, two days equals to 100 euros and three days equals to 130 euros.
Inside the checkboxes I have placed a value of “1” which allows me to have a calculation field with the number of days using a manual formula (%days%). However I cannot manage to use an if/switch statement inside the calculation field to to update the price based on the number of selected days.
A little side note: I also have other options (like radio buttons) which add more euros to the total.
Can someone please help me and/or point me to the right direction in order to achieve this?
Thanks in advance!
- The topic ‘Custom calculation’ is closed to new replies.