if else probleem
-
I like to make a field with if and else, but i think i miss something here.
Somebody know what i am doing wrong?
(function(){
if(fieldname24 < 10) return (“RTB houtpelletketel 10 kW”);
if(fieldname24 >= 10 && fieldname24 <= 16) return (“RTB houtpelletketel 16 kW”);
if(fieldname24 >= 16 && fieldname24 <= 30) return (“RTB houtpelletketel 30 kW”);
if(fieldname24 >= 30 && fieldname24 <= 50) return (“RTB houtpelletketel 50 kW”);
else return (“meer dan 50kW”);
})();
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘if else probleem’ is closed to new replies.