> > chapter 7.2.8 of the books tells how to add extra form elements to SQLFORM. > My question: I want to use a SQLFORM.smartgrid. On adding a new record a > SQLFORM appears. It is possible to add an extra form element to this form? > > Concrete: I want to add a button to activate a datepicker in the line above >
form = SQLFORM.smartgrid(...) if request.args and request.args[-2] == 'new': [code to add button to form] Anthony