That it's you need both in case you want to se the field input but prevent your user to alter the value, you can set readonly=True in your SQLFORM() call...
:) Richard On Tue, Sep 3, 2013 at 12:55 PM, António Ramos <[email protected]> wrote: > What i want to say and dont know why is that coding > > *db.trabalhador.val_formacao.writable=False* > *db.trabalhador.val_formacao.readable=False* > * > * > *before my sqlform* > * > * > Results int the field beeing displayed and editable > > That is not what i want > > I want to hide the field in the form > > > 2013/9/3 Vinicius Assef <[email protected]> > >> On Tue, Sep 3, 2013 at 12:47 PM, António Ramos <[email protected]> >> wrote: >> > >> > shows the val_formação label only, no input text >> >> Because Web2py shows readable fields as text, not as a readonly <input> >> field. >> >> You see nothing probably because the field has no contents in this record. >> >> -- >> >> --- >> 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. >> > > -- > > --- > 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. > -- --- 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.

