In a form_factory form I created a drop box using the following lines
of code:


keywordrows=db().select
(db.event.sleutelwoord,distinct=True,orderby=db.event.sleutelwoord)
keywordlist=[keywordrows[i]['sleutelwoord'] for i in range(len
(keywordrows))] form=form_factory(SQLField
('sleutelwoord',label='Selecteer een sleutelwoord',requires=IS_IN_SET
(keywordlist))


I wonder whether there is another way to create a drop box in a
form_factory form.


Kind regards,

Annet.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to