Micha Roos
|
| Posted: 09/11/2005, 2:26 PM |
|
I'am using the PHP version of CodeCharge.
I have a form/grid ProductList with the following elements.
articlecode
price/piece
order_qty
price/order qty
TEXT BOX ordered_items
order_pieces
order_price
when i build the grid, i want the price/order qty being filled with price/piece * order_qty
When i change the value in ordered_items, i want
order_pieces = order_qty * ordered_items
order_price = order_qty * ordered_items * price/piece
I tried this to work, using the element properties, but could not get it working. I am a novice to Javascript and PHP
Can anybody supply me with the right syntaxes please ?
Furthermore i would like to insert a shopping basket with
articlecode, ordered_items, .......
how do i create a routine to loop the grid and fill the database ?
Thanks for your help,
Micha Roos
|
|
|
 |
|