Thank you so much for your continue support. I tried some clue from manual
and created a simple drop-down list with a bit defect.will post here
tomorrow.
Thank you again !
Have a nice day!

Adrian

黄祥 <[email protected]>于2014年1月21日星期二写道:

> i'm sorry, my bad, i focus on your layout before
> selection.html
> -------------------------------------------------
> _______________       _______
> | select a country |      | submit |
> ---------------------------      -------------
>
> _______________       _______
> | select a brand    |      | submit |
> ---------------------------      -------------
>
> *See all shops*
>
> for learning how sqlform manage it, i think there is on the web2py gluon
> modules sqlhtml.py
>
> for drop down form field, for start from simple, i think it created
> automatically if you set the field type as reference or list:reference
> (it's on models side). or if you want to create it in controllers side,
> please use the validators (IS_IN_DB(), IS_IN_SET())
>
> please read the book that related with :
> models : with field type reference and list:reference
> and validators like : IS_IN_DB() and IS_IN_SET()
>
> 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 a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/6591gnT-GVA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected] <javascript:_e({}, 'cvml',
> 'web2py%[email protected]');>.
> For more options, visit https://groups.google.com/groups/opt_out.
>


-- 
发自移动版 Gmail

-- 
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/groups/opt_out.

Reply via email to