[web2py] Re: Grouping Fields in Form. - Dict Ordering

2011-06-24 Thread Anthony
Python dictionaries do not preserve order. In Python 2.7, you can use an ordered dictionary: http://docs.python.org/dev/library/collections.html#collections.OrderedDict. Anyway, if you're using SQLFORM, you can use the 'fields' argument to provide a list of fields to be included in the form

[web2py] Re: Grouping Fields in Form. - Dict Ordering

2011-06-24 Thread pbreit
I customize all my forms (http://pricetack.com) so I can do exactly what I want and it's pretty easy to manage: http://web2py.com/book/default/chapter/07#Custom-forms

Re: [web2py] Re: Grouping Fields in Form. - Dict Ordering

2011-06-24 Thread David J.
pbreit; Thanks, I tried customizing the forms; I got confused about; can you show me an example view? On 6/24/11 12:41 PM, pbreit wrote: I customize all my forms ( http://pricetack.com) so I can do exactly what I want and it's pretty easy to manage: