Some of the information here may be outdated, please check the book instead
def hideid2():
  # Given a model named mod2, and a table named tbusers 
  # that has a field called lastn, you can hide   
  # the record id during an edit using SQLFORM() ,
  # by adding the option showid=False
  # 05/24/2008 Sterling Hankins 
  #                      Note: showid below
  form=SQLFORM(mod2.tbusers, record, showid=False)
  if form.accepts(request.vars):
  return dict(form=form)
© 2008-2010 by Massimo Di Pierro - All rights reserved - Powered by web2py - design derived from a theme by the earlybird
The content of this book is released under the Artistic License 2.0 - Modified content cannot be reproduced.