[web2py] multiselect plugin and filtering options

2010-07-09 Thread mgrabau
Good Day, I'm trying to use a multi select plugin (this code is in the controller): view_contents.append(plugin_multiselect(db.vulnerabilities.assets)) Is the line of code to connect (and it does, the plugin works as it is supposed to), but I was wondering if it is possible to make a WHERE clau

[web2py] Re: Changing submit label from SQLFORM?

2010-08-10 Thread mgrabau
By message you mean the value shown ie. "Submit"? That is documented in the book, and is easy to do : form = SQLFORM(...fields and all that..., submit_button='The label/ message that you want to show there') Book reference: http://web2py.com/book/default/chapter/07?search=submit_button Hope th

[web2py] Re: Changing submit label from SQLFORM?

2010-08-10 Thread mgrabau
Sebastian Bassi wrote: > On Tue, Aug 10, 2010 at 1:47 PM, mgrabau wrote: > > By message you mean the value shown ie. "Submit"? > > Yes. > > > That is documented in the book, and is easy to do : > > form = SQLFORM(...fields and all that..., submit_button=&