you the fields you do not want to db.table.field.writeable=False and the 
use the regular SQLFORM(db.table)

On Sunday, 11 March 2012 11:15:41 UTC-5, bussiere adrien wrote:
>
> here is my auth table :
> (the beginning my table is correct)
> db.define_table(
>     auth.settings.table_user_name,
>    Field('Nom'),
>    Field('Prenom'),
>    Field('Telephone'),
>    # NOte on user is intern and the user don't hve to see it.
>    Field('Note on user'), 
>
> How to make a custom sqlform from it ?
> like :
> def user():
>     # i just want some things what is needed (passwd name and all but NOT 
> note on user on the form
>     form = SQLFORM([auth.settings.Nom,auth.settings.Prenom])
>     return dict(form=form)
>
> Regards
> Bussiere
>

Reply via email to