Hi there!

My table consists of some cyrrilic chars and when I try to select by
typing into the form nothing happened.
But if I fill the table with latin chars, it works perfetly.

For example, in models:

db.define_table('clients',
    Field('client',   type='string',  label=T('Наименование
организации'), unique=True, notnull=True, length=25),
    .......
     )
db.clients.client.requires=IS_NOT_EMPTY(error_message='cannot be
empty')
db.clients.client.requires=IS_NOT_IN_DB(db, 'clients.client')
db.clients.client.widget = SQLFORM.widgets.autocomplete(request,
db.clients.client, limitby=(0,10), min_length=1)

... in controller:
form=SQLFORM.factory(db.clients, fields=['client'])

... in view:
{{=form}}

How can I deal with it?
Thanks in advance for any help!

Reply via email to