I think you want:
Field('first_name',default=auth.user and auth.user.first_name)
On Saturday, 26 December 2015 09:48:37 UTC-6, RAGHIB R wrote:
>
>
> look at this, i need the first name in the auth as first name in the info
> On Saturday, December 26, 2015 at 6:33:02 PM UTC+5:30, RAGHIB R wrote:
>>
>> For id it is auth.user_id, what for first name?
>
>
--
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.