Model
db.define_table('student',
    Field('admission_number', 'integer', notnull=True, unique=True),
    Field('name', 'string', length=255, notnull=True))

Controller
student = db.student(row.id)
form = SQLFORM(db.student, student, readonly=True)


All the three fields of the table show up when I display the form. What do 
I have to do to make just the 'name' field show up?

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to