I am almost sure I saw a email were Massimo explain how to set a different text for "submit" button, can't find it back...
Have you try with SQLFORM attribute ? Or SQLFORM attribute with "_" before : _submit_button = 'Submit' Richard On Thu, Jun 7, 2012 at 1:20 PM, Doug Philips <douglas.phil...@gmail.com>wrote: > I know that SQLFORM.grid is marked experimental and thus I shouldn't > expect it to be as refined as some of the other parts of web2py, but > I'm hoping that also means it is still a bit open to adjustment? > > SQLFORM.grid has saved me a ton of work, but there are few things I > wish it did slightly better. > > 1. The 'Add' button's button text seems to be hard coded. I'd like to > make that a parameter with a default value of 'Add' (in some forms, > 'Add' is ok, and in others I'd like to set it to something else, such > as 'New Proposal'). > > 2. The submit button's button text on the edit forms for a row (the > ones you get when use the 'edit' button from the tabular view) is hard > coded to 'Submit'. I'd like to suggest changing it to a parameter and > making the default value of that parameter be 'Save Changes'. > > 3. Would it be OK to add a "separator" parameter, as in the base > SQLFORM? (I've gone into the code to just change the hard coded > value.) > > I'll make bug tracker entries (one or three) unless the current > behaviour can't be changed. > > Thanks! > --Doug >