Hello,
if I make SQLFORM(db.order, order.id) I get:
Id: 3
Name: whatever
Customer: drop down list with correct customer name shown as default
if I change it form to readonly by SQLFORM(db.order, order.id,
readonly=True)
Id: 3
Name: whatever
Customer: None
shouldn´t the correct customer name be shown. The field is an reference
from db.t_customer?
Why is the Id shown?
I return the form with return dict(form=form) and show it i view with
{{=form}}
Apache 2.2, python 2.6, web2py 1.91.5, mysql
Kenneth