-
AJ MoolmanAsked on November 26, 2024 at 3:50 AM
How do I calculate a number Squared using the functions in a Widget?
I'm using the Medical Questionnaire Template, but adding Weight and Height number fields, plus then giving feedback based on these two parameters on the BMI, which needs to be calculated by BMI = weight (kg) / [height (m)]2
Please advise or assist
Thank you
-
Eldrex_BReplied on November 26, 2024 at 9:23 AM
Hello AJ,
Thanks for reaching out to Jotform Support. You may use our Form Calculation Widget and calculate the number BMI based on the given information by the field user. The formula should be weight (kg) / (height(m) x height(m). This means that the height should be multiplied to itself to get the square results. This formula should be followed and entered in our Form Calculation Widget. Here's how:
- In Form builder, click Add Element.
- Go to Widgets and Search for Form Calculation.
- Drag the widget to your form and name it BMI.
- Now follow this formula:
Here's the result:
Give it a try and let us know how it goes.