Dropdown
-
I have set this up, but it is when the calculation takes place, in the calculation header itself, that I need a caption to be displayed, depending on the calculation, that we calculated “Current strength, or “Resistance”. So far, I have only achieved the ability to display this in text mode. But it is precisely above the “results” field that there is a heading. It is static.
(function(){
var result = ”;
if( AND(fieldname2, fieldname40) ){
result = fieldname2/fieldname40;
jQuery(‘.text-here1’).html(‘Voltage drop on all LEDs – ‘+result+’ V‘);} else if( AND(fieldname2, fieldname3) ) { result =fieldname2/fieldname3;
jQuery(‘.text-here2’).html(‘Voltage drop on all LEDs – ‘+result+’ Ohms‘);
}
else if( AND(fieldname40, fieldname3) ) {
result =fieldname40*fieldname3;jQuery(‘.text-here3’).html(‘Voltage drop on all LEDs – ‘+result+’ A‘);
}return result;
})()
- The topic ‘Dropdown’ is closed to new replies.