Answered

Is possible join calculation with multiple choices

  • 24 February 2023
  • 3 replies
  • 38 views

Hi, I'm trying to make an calculation flow but I don't know if it's possible to do it with typeform. First I have this operation:

var3 = var1/(var2/100)*(var/100)

Depending on the result, a score is assigned to a final variable varfinal

And on the other hand, some multiple choice questions that, depending on the choice, add a score to that same var4.

Depending on the result of varfinal, one final result or another is displayed.

Is this possible? Thank you.

icon

Best answer by john.desborough 24 February 2023, 20:39

View original

3 replies

Userlevel 7
Badge +6

@Isidro - the short answer is yes. the longer answer is that you will need to establish the set of logic rules that builds your variable(s) incrementally as you go through the process 

 

des

Userlevel 5
Badge +5

By the way, this

var3 = var1/(var2/100)*(var/100)

is equivalent to this:

var3 = var1*var/var2

So removing the “/100” may simplify and avoid rounding errors.

 

Sorry there, i was wrong with the formula, the right one is:

 

var3 = var1/(var2/100)*(var2/100), there isn’t a var.

 

By the way, i suppose that is possible also, i had to define a varfinal and increase its value throughout the different steps.

 

Am I right?

Reply