Hi, 

Currently I have a table defined like so:

db.define_table("patient",
    Field('first_name'),
    Field('last_name'),
    Field('date_of_birth', 'date'),
)

db.patient.first_name.widget=SQLFORM.widgets.autocomplete(request, 
db.patient.first_name, limitby=(0,10), min_length=1)
db.patient.last_name.widget=SQLFORM.widgets.autocomplete(request, 
db.patient.last_name, limitby=(0,10), min_length=1)
db.patient.date_of_birth.widget=SQLFORM.widgets.autocomplete(request, 
db.patient.date_of_birth, limitby=(0,10), min_length=1)


I'd it to be that, after I type in the first_name form field, when I type in 
the last_name form field, the auto-complete results for last_name should be 
limited to rows where db.patient.first_name == <whatever was typed in 
first_name field>. Is there any way to customize the Autocomplete widget to do 
this? Thanks!

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to