I´m having the same problem. In a SQLFORM I have a Field that is
sometimes writable and sometimes not. If you are admin you can modify
this field but not as user. Field is a reference to and other table,
so admin gets a dropdown but the user gets None but he should get the
selection that admin has made.


Kenneth


On Jan 26, 11:48 pm, Pawel Jasinski <[email protected]> wrote:
> Hi,
>
> > Are you sure you want the form readonly?
>
> Yes
>
> > What if you remove readonly?
>
> The 'None' changes into drop down with ids or whatever is in the
> format argument of the field.
>
> > If you want readonly you do not need accepts
>
> Good point, changed. It does not help with the main problem.
>
> I also have another use case, where form is used on the confirmation
> screen. Kind of "are you really sure ..."
> All fields are made read only with db.table.filed.writable=False.
> The references are also rendered as None.
>
> Cheers,
> Pawel

Reply via email to