- Tue Feb 13, 2024 7:36 am
#831795
As a newcomer to ProcessMaker, I've been assigned to practice computational processing using JavaScript within the platform. Following the documentation, I attempted to create a dynaform that calculates the total based on input price and quantity. However, upon previewing the form, it endlessly loads without displaying any results. Here's the JavaScript code I utilized:
function calculateTotal() {
getField("sTotal").value = parseFloat(getValueById("basePrice")) - parseFloat(getValueById("Qty"));
}
leimnud.event.add(getField("basePrice"), 'click', calculateTotal);
leimnud.event.add(getField("Qty" https://koows.com/tag/phpmyadmin ), 'click', calculateTotal https://koows.com/tag/nginx );
Any insights or solutions to this issue would be greatly https://koows.com/tag/technology appreciated. Thank you for your assistance.
function calculateTotal() {
getField("sTotal").value = parseFloat(getValueById("basePrice")) - parseFloat(getValueById("Qty"));
}
leimnud.event.add(getField("basePrice"), 'click', calculateTotal);
leimnud.event.add(getField("Qty" https://koows.com/tag/phpmyadmin ), 'click', calculateTotal https://koows.com/tag/nginx );
Any insights or solutions to this issue would be greatly https://koows.com/tag/technology appreciated. Thank you for your assistance.