Answered
How could I get a javascript (or a simplified form calculation)to get working with the following formula (which is the Friedewald formula for LDL cholesterol)?
LDL = TC - HDL - TG/5.0
LDL(say Form "D") = TC(say Form "A") - HDL(say Form "B") - TG/5.0(say Form "C")
Thank you for your help
Paolo
A - B - C/5
JavaScript:
event.value = getField("A").value - getField("B").value - getField("C").value / 5;
assuming the fields are numeric.