hmmmm, the best you can do is

db.openingstijd.dag.requires=IS_IN_DB(db, db.dag.id, '%(id)s, %(naam)
s')

On May 27, 2:06 am, annet <[email protected]> wrote:
> In db.py I have a validator:
>
> db.openingstijd.dag.requires=IS_IN_DB(db, db.dag.id, '%(naam)s')
>
> In the view it displays as a dropbox, which is sorted by naam. Since
> the days of the week being sorted alphabetically doesn't make sense, I
> wonder whether it is possible to sort the dropbox by id.
>
> Kind regards,
>
> Annet.
--~--~---------~--~----~------------~-------~--~----~
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