Try this: http://www.web2pyslices.com/main/slices/take_slice/70
On Mar 6, 11:52 pm, weheh <richard_gor...@verizon.net> wrote: > I'm building an admin interface to auth_membership. With > auth_membership, a user can belong to multiple groups. The standard > form made by crud.update from the auth_membership table is a 2 > pulldown affair. This is cumbersome to use when there are many users > and many groups. It takes too many user selects and group selects and > submits when assigning even one user to multiple groups. > > Therefore, I am building a custom interface. First, I select a user > from a users=crud.select(...) list. Then, I want a custom form that > shows the user name followed by a checklist of all the groups to which > the user could potentially belong. Groups to which the user already > belongs will have their checkbox checked in the form. > > It seems like this is such a typical thing to want to do that there > should be something built-in to do it already. Or that someone has a > slice for it or a plugin. Massimo's plugin > http://web2py.com/plugins/default/multiselect > seems like it could do the trick, but I can't seem to get it to work > for me in this case since auth_membership looks like a black box to > me. Any suggestions for how to go about doing what I want to do? -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.