[web2py] Re: Autocomplete issues...

2010-02-03 Thread mdipierro
this is what IS_IN_DB does internally. I do not think it does help in this case. The fact is you need a more sohisticated autocomplete because when you type something you need not just the autocompleted text but also the id corresponding to it. You need to create this logic. On Feb 3, 6:10 am, se

[web2py] Re: Autocomplete issues...

2010-02-03 Thread selecta
IS_IN_SET(dict([(i.id,i.name) for i in db(db.paint.id>0).select()])) did not test it but it should work On Feb 3, 10:31 am, Jason Brower wrote: > I have autocomplete working... it properly displays the information I > want.  I also have it integrated with my model that is being rendered. > But I