Never mind, it was supported already exactly the way i was thinking it
should. So passing "%(id)s, %(firstname)s %(lastname)s" as a label
gives: "1, My Name"

-Marko

On Nov 20, 9:11 pm, mmstud <[EMAIL PROTECTED]> wrote:
> how big change on IS_IN_DB validator would it be to support more
> complicated label? My label would be something like:
>
> label = "%(id)s, %(firstname)s %(lastname)s" -> "1, My Name"
>
> That would prevent ambiguity, that is case, when listing persons with
> one label only...
>
> I tried to create new argument called clabel and pass previous string,
> but not that easy i saw ;)
>
> -Marko
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to