Hello, i want to creat a form, where someone can calculate the prize for the cleaningservice by themself.
Example:
First question: How many m² have to be cleaned?
Answer: 100 m²
backend Calculation: 1 m² is 5 € so 100 will be 500€
SecondQuestion: How many times should be cleaned ,
Answer2.1 1x week, backend Calculation: x1.0
Answer2.2 3x week, backend Calculation: x3.0
and so on.
End would show the final prize
Best answer by john.desborough
@sunschein05 - when you create the calculations you need to create a custom variable - something like v_total - and use the logic rules to do the calculation.. for example
question 1 - how many square metres need to be cleaned?
logic rules
add ‘Q1 response’ to v_total
multply v_total by 5
(this will update the value of v_total variable to represent the area x cost
question 2 - how many time per week
logic rules
multiply v_total by Q2 response
this update the v_total variable to the entire value per week (area x cost x frequency)
a summary (statement) page that shows the calculation
now you can display the estimate using the @recall function to show the values on this statement page.
Hi @liz, but what if tehther are multiple answers possible. In my exampale you can answer everything from 1-10000 m², so i need a calculation that 1 is 50 $ 2 is 100$ and so on
@sunschein05 - when you create the calculations you need to create a custom variable - something like v_total - and use the logic rules to do the calculation.. for example
question 1 - how many square metres need to be cleaned?
logic rules
add ‘Q1 response’ to v_total
multply v_total by 5
(this will update the value of v_total variable to represent the area x cost
question 2 - how many time per week
logic rules
multiply v_total by Q2 response
this update the v_total variable to the entire value per week (area x cost x frequency)
a summary (statement) page that shows the calculation
now you can display the estimate using the @recall function to show the values on this statement page.