i think in compute you must put the row on it (both first_name and 
last_name) and not sure it can handle string:
e.g. not tested
Field('personDisplayName', compute=lambda r: r[first_name] r[last_name])

another suggestion why not use default? 
or maybe after_insert callback to update the persondisplayname with the 
combination first_name and last_name value? 
or maybe use on form validation function, assigned the value of 
persondisplayname base on first_name and last_name form field?

best regards,
stifan

-- 
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/groups/opt_out.

Reply via email to