Thanks! I had played with the represent attribute, with no success, but using that first option within the controller works. Changing the validator seems a bit over the top just to change the format, but it works!
On Tuesday, 11 August 2020 16:07:36 UTC+1, villas wrote: > > Off the top of my head, maybe these ideas would put you on a better > track... :) > > 1. The reference field has a default validator, try changing it to > something like this: > > db.assignments.marker.requires = IS_IN_DB(db, 'markers.id', '%(last_name)s, > %(first_name)s (%(email)s)') > > 2. Check out the .represent attribute > > > > > -- 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 web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/dc15ee08-5608-43b2-97fe-2c998aec5a9do%40googlegroups.com.