I´m not sure is this even possible but hopefully is,

I´d like to have a number of small forms on one page, the number depends on how many rows a query returns.
I can do:

bill_items = db(db.t_bill_item.f_bill == bill['id']).select()
bill_items_forms = {}
for item in bill_items:
    bill_items_forms[item.id] = SQLFORM(db.t_bill_item, item.id)

and it shows quite nice on the page, the problem is to create the accepts function. I guess this is not possible with creating my own logic for it.


Kenneth




Reply via email to