Hello,
I want to calulate from price and discount into total. There is no error in console. I also tried event type focus and onfocus on chrome, firefox. Calculation doesn't work at all.
Code in field pogoda_produkt_skupaj (Cilent side event) field:
{ // keys = event types, values = handler functions
"focus": function(e) {
var $row = $(this).fields();
var vrednost = $row["letna_premija_neto"].toNumber() * (1-$row["popust"].toNumber());
$row ["pogodba_produkt_skupaj"].value(vrednost);
}
}
any idea?