I have a person table with date of birth and a compute field for age. I 
want my form to show date of birth (writable) and age (read only). When the 
form is accepted I reread the table and create a new SQLFORM with the new 
age.

However I cannot get this to work.

   - On a SQLFORM the age does not show up by default even if readable=True.
   - If I include age in the "fields" parameter and writable=True then it 
   shows up but is editable.
   - If I set writable=False then it does not recalculate the computed 
   field.
   
Wouldn't it be better for computed fields to show up if readable=True;  and 
to be updated even if writable=False?




Reply via email to