Sarah, I got it to wrok by changing the name of the variable you use to do the actual calulation to bmiValue. My theory on why it didn't work the way you had it was that you had a textfield and an integer with the same name and this confused the compiler.
posted 14 years ago
Thanks very much Ted...you were right about the compiler getting confused with all the similar names. Works just fine now! Thanks