For example I called a db query x in view
Where each elements in x will be displayed in view with a button for each. And
if user clicks on any one of them, he/she will get that very id of x (x.id)
inserted in a different db store.
I tried implementing the same with form but clicking on just one inserts all
x.id available in store! How to do it correctly?
my code is:
{{for x in uu:}}
<form action={{db.store.insert(stuff=x.id)}}>
<input submit="submit">
</form>
{{pass}}
--
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.