Hi.
Im new to web2py. I have gone through most of the ducumentation and videos
but im still stuck. Here is the scenario:
db : stockitems
fields(itemcode, itemName, sellingPrice)
db : sales
fields(date,itemcode,itemname, sellingprice,qty,amount)
I have a sqlform.grid from db.sales to show : date, itemcode(dropdown),
itemname, sellingprice,qty, amount
On 'add' on sqlform.grid i want
1. when i select itemcode from dropdown, the form to fill itemname and
sellingprice from the stockitems table
2. when i enter qty, the amount to be calculated as qty*sellingprice
I want these to be reflected even before i click 'submit' button
Kindly assist
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.