Condition on calculated field
Posted: 19 Nov 2019
I have a simple condition on calculated field value (stored as number), but it is not working (i've read this already):
The calculated field is number, but i already tried to make it text - nothing. The code is on Display form. I've tried to store the calculated field as text - didn't help.
Please help!
Code: Select all
function setapproval() {
var calcValue = parseFloat(fd.field('ConvertedTotal').control()._el().text());
if (calcValue > 5000) {
alert(calcValue);
}
}
setapproval();
Please help!