Check box
-
Hi,
I’m using this code to get a final value to a text field
(function(){
var newvalue;
if (fieldname12== true)
newvalue= fieldname5 * 180 *0.025;
return newvalue;
else return 0
})();
fieldname12 is a check box and if the check box is true the functionality should be work on but I’m not sure about what to use to make it work.
Can you please tell me, how to get the value of check box ;
is it;
fieldname12== ‘yes’
or
fieldname12== true
or
fieldname12== yes
or anything elseHoping help
Thank you
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Check box’ is closed to new replies.