if you have a field called 'fieldname' you can do
{{=form.latest.fieldname}} or {{=form.latest['fieldname']}}
and they both give you what would be the value for the field right
now. It returns a string, not and object.
Massimo
On Nov 11, 9:55 am, "Wes James" <[EMAIL PROTECTED]> wrote:
> I tried:
>
> {{=form.latest.fieldname['component']}}
>
> but i get the error:
>
> TypeError: string indices must be integers
>
> what is component supposed to be?
>
> thx,
>
> -wj
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---