Having problems with function
-
(function(){
if(fieldname3 < 1 && fieldname3 >= 0){
return 0;
}else if(fieldname3 >= 1 && fieldname3 < 50){
return 1;
}
}else if(fieldname3 >= 50 && fieldname3 < 76){
return 2;
}
}else if(fieldname3 >= 76 && fieldname3 < 90){
return 3;
}
}else if(fieldname3 > 90){
return 4;
}
})()tried to run this code for fieldform cSBP but im not able to get back any output
I ran a similar function on another calculated form fieldname cAGE and it ran no problem
(function(){
if(fieldname2 < 55 && fieldname2 >= 0){
return 0;
}else if(fieldname2 >= 55){
return 1;
}
})()can you help me with this please?
any typing error?fieldname2 = Age
fieldname3 = Systolic Blood Pressure
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Having problems with function’ is closed to new replies.