This what I have. I want to get rid of the row of buttons at the bottom of the form that says 'design request response session db tables db stats'
*View* {{extend 'layout.html'}} <h2>Input form</h2> {{=form}} <h2>Submitted variables</h2> {{=BEAUTIFY(request.vars)}} <h2>Accepted variables</h2> {{=BEAUTIFY(form.vars)}} <h2>Errors in form</h2> {{=BEAUTIFY(form.errors)}} *Controller* def display_common_params(): db3.common_parameters.id.readable=False # Since we do not want to expose the id field on the grid form = SQLFORM(db3.common_parameters, buttons = [TAG.button('Back',_type="button", _onClick = "parent.location='%s' " % URL('display_all_analysis_stations')), TAG.button('Save',_type="submit")]) if form.accepts(request,session): response.flash = 'form accepted' elif form.errors: response.flash = 'form has errors' else: response.flash = 'please fill the form' return dict(form=form) -- 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.