[web2py] SQLFORM update problem with list:reference fields

2011-08-08 Thread Cliff
When using SQLFORM to update list:reference fields, the select input does not show the database value as selected. It shows the zero value instead. If I remove the zero value, it just shows a blank line. Here is my code. What am I doing wrong? model: db.define_table('owners', Field('name')) db

[web2py] SQLFORM update problem

2011-05-21 Thread Marin
Hi, I have an id field which is not named 'id'. Here's a part of definition: Category = db.define_table('category', Field('myid', 'id'), Field('id', 'integer'), Field('parent_id', 'integer') ... I want to make SQ