Hi, i have a table of attributes like this:
ID field_name field_type ------------------------ 4 name STRING 5 description TEXT 6 power INTEGER 7 available BOOLEAN 8 price DECIMAL 9 date_of_entry DATE 11 companies STRING-LOV Each of this entries represents field on a form. Type STRING-LOV is actually reference to asset_attribute_lov table. Is there a way that i can do something like: Field('asset_attribute_id', 'reference asset_attribute', requires=IS_IN_DB(db, 'asset_attribute.id'), label=LABEL(T("Atribut"), _for= "asset_attribute_asset_attribute_id")), but i want IS_IN_DB to display only values from asset attribute where field_type="STRING-LOV", is this possible? -- --- 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/groups/opt_out.