I've been liking using "fields" recently for its explicitness.
On Friday, January 1, 2016 at 8:14:50 AM UTC-8, Anthony wrote: > > On Friday, January 1, 2016 at 10:31:23 AM UTC-5, RAGHIB R wrote: >> >> Suppose a db has fields: name,roll,gender and I want to insert only into >> name and gender as of now , thus create a SQLFORM only for name and gender. >> How do I do that without putting roll as both readabke and writable as >> false? > > > What's wrong with setting readable and writable to False? > > Anyway, from the book section on SQLFORM: > > > - fields is an optional list of field names that you want to display. > If a list is provided, only fields in the list are displayed. For example: > > fields = ['name'] > > > Anthony > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.