dalank
November 1, 2019, 10:21pm
1
Hello, I am a beginner in using a pro-Thunkable
am trying to create a blood pressure calculator just like the one made in PHP in this page
Find out your blood pressure (BP) risk category by entering your age, sex and most recent blood pressure measurement into the calculator. Based on the National Heart Foundation’s Guide to Management of Hypertension, the calculator assigns your BP...
following this chart
so I have created 2 labels and 2 text fields and button to submit and one invisible label to show later the result
Does any help, please?
Hi, @dalank !
Welcome to our Community!
According to what I see, the formula for calculating Blood Pressure is like
Right?
Thanks!
dalank
November 2, 2019, 4:20am
3
Hello,
I hope u can explain it using blocks so the idea is filing the both sys and dis
so the command should be on clicking on button when text input 1 is < 90 and text input is < 60 then print in label 3 Low blood pressure, I should ad many values
Thanks Kartik
dalank
November 2, 2019, 4:22am
4
Thanks for your explanation!
I am not experienced with calculating Blood Pressure, I would like to ask one thing to you…
When the screen opens, I will enter my sBP & dBP. Then I’ll hit the calculate button.
Then, my calculated blood pressure will print on a label.
For example. I enter by sBP = 85 & dBP = 65 , the result should be low . (because the formula for low blood pressure is sBP<90 or dBP<60)
Am I right on this?
Thanks!
2 Likes
dalank
November 2, 2019, 12:26pm
6
Hello Kartik
yess Correct this is the idea and if you go back to screen shoot it may have 5 values
low
normal
elevated high
etc
so the idea on how to set the if else in blocks
1 Like
Hi, @dalank !
Finally, I got you
These blocks might help you -
Thanks!
2 Likes
dalank
November 2, 2019, 1:49pm
8
Oh, thanks for your fast help bro i will give it a try
if you have time you can take a look at the live app here
https://x.thunkable.com/copy/1789b0c54b0f62e69b052d5ac001bb83
Thanks a lotttt
1 Like
Hi, @dalank !
I had a look at your app, the UI (design) is perfect & correct.
You just now need to make your blocks. They seem incomplete -
Make your blocks like this -
kartik14:
Thanks!
1 Like
dalank
November 2, 2019, 2:00pm
10
yes i will complete it and make test and let you know , thank you so much bro
1 Like
Always Welcome!
After you complete everything, notify here.
Thanks!
1 Like
dalank
November 2, 2019, 3:48pm
12
Hello, i its complete , please take a look if it need any better modification
this project is dedicated to a school kids class , if we need more help in some simple projects you can still help us?
thank you so much
2 Likes
anush
January 17, 2023, 8:50am
13
pls send a new link @dalank