I’m trying to build a calculator which involves combining answers to different questions to work out cost-savings for customers.
First, participants will be asked a multiple choice question, and can select as many options as they like. The number of options they choose will inform later calculations. Each option is weighted the same. For argument’s sake, I’ll describe this as “number of options selected = R0”.
I believe I would do this by setting a logic rule “If answer is A, add 1 to variable R0; If answer is B, add 1 to variable R0” and so on. If that is incorrect please someone let me know!
Then, questions 2 and 3 are numerical. I want to be able to multiply these together, and then multiply that by an integer to create a measure of their current costs. Let’s say “Q2 x Q3 x 365 = R1”.
This in turn would be used in a subsequent calculation, e.g. “((((R1/2)*30)/60)/60)=R2”, and eventually we end up with this: “(R2+R3+((R4-R5))*R6)*214=R8”, where those other Rs are created based on calculations between results.
Is there an easy way to build variables that are calculated using other variables? Or is this too advanced for Typeform? I’d originally built this in Outgrow but didn’t get on with their pricing model.