Hello everyone,
I have my table like this,
db.define_table('Document',
Field('date','date'),
Field('school','reference schoolNames'),
Field('students','list:reference Students'),
)
db.Document.students.requires = IS_IN_DB(db((db.Students.status=='Approved'
)),db.Students.id,db.Students._format,multiple=True)
What I want to do is add this jquery pluggin which generates a multiple
select and has other features such as (uncheck all, check all)
http://www.jqueryscript.net/form/jQuery-Plugin-For-Multi-Select-Checboxes-multiselect.html
I'm a bit newbie with jquery pluggins and web2py. I downloaded it, add the
files to the folders but I don't know how to do the next step because I
don't generate the select, it is generated by my crud.create on my contoler.
def NewDocument():
return dict(form=crud.create(db.Document, message=T("New record added"
)))
Some suggestions will be very appreciated.
Thanks :)
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.