Simple BMI calculator with Conditional Fields Pro and relational operators.
Form
Form Code
<label> BMI
[number bmi] </label>
[group g-nobmi]Please enter your BMI[/group]
[group g-underweight]Underweight[/group]
[group g-overweight]Overweight[/group]
[group g-normalweight]Normal weight[/group]
<br>
Conditional Fields (Text)
show [g-nobmi] if [bmi] is empty ""
show [g-normalweight] if [bmi] ≥ "19"
and if [bmi] < "25"
show [g-overweight] if [bmi] ≥ "25"
show [g-underweight] if [bmi] < "19"
and if [bmi] not empty ""