This topic is locked

sum

6/11/2008 5:45:21 AM
PHPRunner General questions
G
garethp authorDevClub member

Hi
Can anyone help.
I have recently manage to get some javascript working (on one record entry in the add screen) and has led me to think...
I have a table orders with fields order, part and quantity and have added a sum quanity on the list page to show the total quanity ordered.
This table only has a few entries and I select all to be inline edited to update the quanity field for eah of the entires.
Is it possible for a sum quanaity total to change as I change the quanity of each entry before I click save all. I need to know the total of the edited quantities before I commit the value to the table.
Hope this makes sense
Gareth

J
Jane 6/11/2008

Gareth,
yes, you can do it using custom JavaScript code.

Unfortunately we don't have a ready to go solution for this.

G
garethp authorDevClub member 6/11/2008

Thanks Jane for the reponse.
Can anyone point me in the direction of how to code this - I have spent a while looking of the internet but am very confused and know where to start.
Thanks
Gareth