Hi, i have a table like this db.define_table( 'Pass', Field('FlightID', 'reference Flight', label=T('Flight'), requires=IS_NOT_EMPTY()), Field('AnalystID', 'reference Analyst', label=T('Analyst'), requires=IS_NOT_EMPTY()), Field('TypeID', 'reference Type', label=T('Type'), requires=IS_NOT_EMPTY()), Field('Name', label=T('Pass Name'),requires=IS_NOT_EMPTY()), Field('Configuration', label=T('Configuration')), Field('PostedToCustomer', label=T('Posted To Customer'), type='boolean'), Field('PassNote', label=T('Pass Note'), type='text'), Field('AnalysisNote', label=T('Analysis Note'), type='text'), Field('Mode', label=T('Mode'), type='text'))
and when i create the form for input, i want to hide the field mode. i know i should specify that in the SQLFORM(hidden =dict()) but i keep getting syntax error. could you please give me the correct syntax SQLFORM () to display the all the fields except Mode? Thanks -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/524147e5-69d6-4b61-a217-8ceeb7f3280d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.