The problem is that when you autocomplete you may have lots of records
so search has to be done based on DB content. If you were to use
virtual fields (computed on the fly by web2py) the search would be
done client-side in memory. It would be faster but would not work for
large record sets.
Massim
Thanks Massimo, I can do that. Only slight issue is the computed
field physically takes space in the database.
I was a bit puzzled why a virtualfield would not work because I
thought it was introduced for precisely this kind of use.
--
D
On Aug 9, 1:54 am, mdipierro wrote:
> You must have comp
You must have computed field that contains the contend you want to use
'name + town'
On Aug 8, 7:06 pm, villas wrote:
> I have the following requirements:
>
> 1) The widget to show the 'name' but save the 'id'
> 2) The widget to reveal the fields 'name' plus 'town' in the drop down
> selection.
>
3 matches
Mail list logo