*THIS*:
db.recipe.category.requires=[IS_IN_DB(db, db.category.id, db.category.name)]

Will give you text box with auto complete widget.

*THIS*:
db.recipe.category.requires=IS_IN_DB(db, db.category.id, db.category.name)
Will give you dropdown widget

Just a matter of [ ]

Reply via email to