What i am missing please help!

Hello, on click any value is taking me only to the first answer low blood pressure , what i am missing here ?

You are only checking for everything that is smaller then so everything is always true the first time.

You have to check

for > 60 and < 90

for > 80 and < 120

etc etc if you want to compare to variables.

1 Like

i think that should me textbox1.text
it is input type which will return 1 (default)i think

1 Like

and this also

1 Like

Let me try it !

Thanks for fast reply , but my friend i did the same in thunkable and its working good :frowning:

hey friend set it to textbox1.text
not input type

1 Like

Show your thunkable blocks please. Even when you set textbox to 200 it will show low blood pressure like you did it. You always check for less then instead of bigger then.

1 Like

yes sir it work at the method too , thank you

1 Like

yes sir, its working now :slight_smile: thanks a lot

if that was helpful then mark it as a solution:smiling_face_with_three_hearts:

You are comparing values between numbers so it should be

60 and < 90 = low
=> 90 and < 120 = normal
80 and < 89 or > 120 and <139 = pre-hypertension
90 and < 99 or > 140 and < 159 = hypertension stage 1
100 or < 160 = hypertension stage 2

You are also overlapping values that could cause unexpected results. Since you are making a medical app your results should be always correct. See this chart.

There is no overlap in values.

1 Like

yes thats right , i will try to change the values at this way to see , thanks peter

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.