[web2py] jQuery Multi-Select Form Input Names

2012-04-14 Thread villas
Hi All, I have just spent a few frustrating hours with the jQuery Multi-Select widget: http://www.abeautifulsite.net/blog/2008/04/jquery-multiselect/ For this field: db.define_table('gallery', Field('tag_id','list:reference tag') it renders for example this HTML element: label

Re: [web2py] jQuery Multi-Select Form Input Names

2012-04-14 Thread Bruno Rocha
You need to create a custom widget and then: db.gallery.tag_id.widget = mycustomwidget or use the web2py mult select widget that ships with plugin_wiki. http://zerp.ly/rochacbruno Em 14/04/2012 07:50, villas villa...@gmail.com escreveu: Hi All, I have just spent a few frustrating hours with

Re: [web2py] jQuery Multi-Select Form Input Names

2012-04-14 Thread villas
Well there is the widget on Web2pySlices (which I believe is the one in the Cookbook). Sadly that doesn't seem to work. However, if I put this in my HTML, I don't seem to need a widget at all, so maybe that's better. I mean I already have the multiselect function there, so it's only one