This topic is locked
[SOLVED]

 how to trigger a calculation?

10/17/2016 5:22:31 PM
ASPRunner.NET General questions
A
Arkie author

Nevermind... I guess I was trying to do this the hard way. So instead of using javascript, I simply put the calculation as a code snippet. That way, the code executed when Save was pressed. I realized that the calculation really didn't mean anything until it actually updated the database.
There are several events which can be used with:

ctrl.on(event,handler,arguments);
Is there one which detects when only the Save button is clicked?
I have an on-the-fly calculation that needs to be completed only when the Save button is clicked. Other event options I tried will quite often fire the calculation multiple times or not at all.
~Joe