hello my code


    if not auth.has_membership('admin'):
      *  db.trabalhador.val_formacao.writable=False*

        form=SQLFORM(db.trabalhador,row.id,
        showid=False,
        submit_button="Gravar",

fields=['nome','bi','ncart','ncartval','rfid','apt_medica','apt_medicaval',*
'val_formacao*','area','obs'],
        table_name='trabalhador',
        formstyle = 'table2cols',
        upload=URL('download')
        )



shows the val_formação label only, no input text

however if i change the line to

*db.trabalhador.val_formacao.writable=False*
*db.trabalhador.val_formacao.readable=False**
*
*
*
I get the label and the input text

why?

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to