[web2py] Re: Hidden Field

2019-06-07 Thread Quang Lam
Hi i guess i have to declare the field is neither readable nor writable, so that it will not display in the form. but my concern is the setting of writable and readable to false will prevent me from inputting the value which i got from running another script into the field mode or it does not

[web2py] Re: Hidden Field

2019-06-06 Thread 黄祥
perhaps can use readabe=False or show_if ref: http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Field-constructor http://web2py.com/books/default/chapter/29/07/forms-and-validators#Conditional-fields best regards, stifan -- Resources: - http://web2py.com - http://web2p

[web2py] Re: hidden field on CRUD

2019-02-28 Thread Dave S
On Thursday, February 28, 2019 at 10:43:20 AM UTC-8, Marcelo Huerta wrote: > > El martes, 26 de febrero de 2019, 18:16:15 (UTC-3), Dave S escribió: >> >> >> Also look at 3rd party display tools like DataTables (datatables.net), >> which is highly recommended in this list. (added in edit) >> >> >

[web2py] Re: hidden field on CRUD

2019-02-28 Thread Marcelo Huerta
El martes, 26 de febrero de 2019, 18:16:15 (UTC-3), Dave S escribió: > > > Also look at 3rd party display tools like DataTables (datatables.net), > which is highly recommended in this list. (added in edit) > > Are there any examples of usage of DataTables with web2py? -- Resources: - http://web

[web2py] Re: hidden field on CRUD

2019-02-26 Thread Dave S
On Tuesday, February 26, 2019 at 4:48:01 AM UTC-8, Diego Tostes wrote: > > Done. > > I did using the table definitions ... > > Field('user_id', 'integer',writable=False > ,readable=False,default=user_dic["user_id"]) > Be aware that CRUD is deprecated, and support limited pretty much to securi

[web2py] Re: hidden field on CRUD

2019-02-26 Thread Diego Tostes
Done. I did using the table definitions ... Field('user_id', 'integer',writable=False ,readable=False,default=user_dic["user_id"]) Em ter, 26 de fev de 2019 09:34, Diego Tostes escreveu: > Hi, > > i have this controller: > > def cria_servico(): > crud.settings.create_next = URL('default'