Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Hi - if you are using professional or enterprise you can leverage the Calculation Field already baked into joget. community users would leverage a custom html with javascript to perform calculation such as the example below.
<script> function calculateTotal(amount) { var disc = FormUtil.getField("disc").val(); if (disc === undefined || disc === "") { disc = "0"; //set a default } return amount * (100 - parseFloat(disc)) / 100; } </script>
see: calculation tip in spreadsheet (subform)
Good Luck
tony
How can we have SUMPRODUCT in a calculated field?
Column A and Colum B Each row value be multiplied and added up in a single field ?