Hey,
i'm sorry, i need help again :)
i have a db table, and i want to create a üage where for every row is a
form. my idea looks like this:
row_db = dba(dba.user.user_id == user_id).select(dba.user.ALL)
for row in row_db:
form=FORM('Your name:',
SELECT(),
INPUT(_type='submit', _value = 'HERE'))
if form.process(formname='form_one').accepted:
but it does not work since every time the form variable gets replaced. Has
anyone an idea? maybe it is possible to create something like this?
form_'a'=FORM('Your name:',...
and 'a' changes with every loop? but i don't think it'll work like that.
Does anyone has an idea?
--
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.