On 31 Sie, 00:03, Bruno Rocha <rochacbr...@gmail.com> wrote:
> as far as I know, this line "db.dog.owner.requires=IS_IN_DB(db, 'person.id')"
> is responsible for the dropdown widget.
>
> It is a validator, but using it implies the use of widget.
>
> if you do not use the IS_IN_DB(..) you will have no widget, then will be
> only a text box field to input the id.
>

Hm... So You suggests, that if I remove the line
db.dog.owner.requires=IS_IN_DB(db, 'person.id') I should get
in form generated by SQLFORM text box ? If so, then something is
wrong, because I get the select box with numbers (id's from person
table).

Regards
brushek

Reply via email to