Hi on this topic i am using a group billing form with the a child discount fee.
If a member has 4 people (2 adults, 2 children) booking at €50 each - i need to give a 50% child discount.
I have setup a list field called "childrate"
VALUES
Adults Only
1 Child
2 Children
3 Children
4 Children
5 Children
6 Children
7 Children
8 Children
9 Children
10 Children
FEE VALUES
0
-0.5
-1
-1.5
-2
-2.5
-3
-3.5
-4
-4.5
-5
FEE FORMULA
[INDIVIDUAL_PRICE]*[CHILDRATE]
This works fine however how can we prevent a users from entering e.g 3 registrants in the group billing then taking a discount for 4 children? In otherwords there should be a place for a conditional statement on the registrants number preventing this e.g something like
if (registrants_num > childrate){return "Error"} else {return "ok" }
Can this be done? Or is there a better method for giving a childrate with EB? would love to know!
Success consists of going from failure to failure without loss of enthusiasm.