That'll work. Thanks!

On Jan 5, 9:05 pm, mdipierro <[email protected]> wrote:
> db.album.artist_id.label='Artist Name'
>
> On Jan 5, 8:36 pm, "mr.freeze" <[email protected]> wrote:
>
> > I know I can simply use thelabelparameter but thought it would be
> > nice if by default SQLFORM used the referenced field name when using
> > IS_IN_DB validator. For example, if I have:
>
> >db.album.artist_id.requires=IS_IN_DB(db,db.artist.id,db.artist.name)
>
> > Thelabelwill be Artist Id but I would like it to be Artist Name
> > since it will be rendered as a drop down list of artist names.
>
> > Please pardon my laziness.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to