I need to design a form with a grid and simple textbox which is used to store the sum total of the grid.
(Please note in the same dynaform, i know how to make the global variable and create the textbox in the next dynaform and make it shows the sum total of the grid field)
I have tried solutions like
<1>http://forum.processmaker.com/viewtopic ... tal#p23151
<2>http://forum.processmaker.com/viewtopic ... tal#p20685
i would like choose the 2nd approach, see pic below:
( i have changed the last line grid_myGrid.onaddrow to "myGrid.onaddrow", cause the original it always prompt me error message that this "grid_myGrid" doesn't exist.)
I have tried, problems faced: the first row whatever i keyed, the textbox will received, but the 2nd or 3rd or onwards, the textbox field stays there without any changes.
Please give me some hints or point me where i'm wrong, thanks in advance!
Really urgent! Much appreciated
grid total1.PNG (6.92 KiB) Viewed 1477 times
grid total.PNG (6.18 KiB) Viewed 1477 times