Thanks for reply.
Actually SQLFORM is exactly my confusion.I need a drop-down list instead of 
input form. And I did view several posts about this problem (such as listed 
below), none of them works for me.

http://www.web2pyslices.com/slice/show/1724/cascading-dropdowns-simplified
http://stackoverflow.com/questions/10387672/web2py-dropdown-menu
http://markmail.org/message/ybt655wfijubhh7x#query:+page:1+mid:ef5eg3alxsgqydyr+state:results
http://stackoverflow.com/questions/16787802/web2py-sqlform-dropdown-without-submit-and-form-actions

Problem is, non of them explain SQLFORM usage clearly, from drop-down point 
of view. Where can I find a simple case of drop-down? Just like the simple 
sample in the manual like photo blog, wiki, those are very useful to a 
beginner to understand how MVC works.

But for drop-down problem, what should be defended in models/db.py, 
controllers/default.py and views/default/drop-down.html? Any help is 
appreciate. 


On Tuesday, January 21, 2014 8:37:31 PM UTC+8, 黄祥 wrote:
>
> had you already take a look at multiple forms per page in web2py book?
> ref:
>
> http://web2py.com/books/default/chapter/29/07/forms-and-validators#Multiple-forms-per-page
>
> best regards,
> stifan
>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to