A more robust way to do this is to use the element search helper.  Use the 
id (or whatever) to find the INPUT like this:

element = form.element(_id='table_field')

and then the value will be:

element['_value']

See the book for all the other cool things you can do:
http://www.web2py.com/books/default/chapter/29/05/the-views?search=element#elements


On Wednesday, June 11, 2014 3:39:35 PM UTC+12, lucas wrote:
>
> omg, i figured it out.  i had to drill down one more layer.
>
> uform[0][0][1][0]['value']
>
> where, form is the form element itself, the first [0] is the table, the 
> second [0] is the first TR line of the table, the [1] is the TD element of 
> the TR line, and the last [0] is the INPUT element under the TD.
>
> i had a brainy storm.  thanx, lucas
>

-- 
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.

Reply via email to