[EMAIL PROTECTED] wrote:
> you cannot. HTML doesn't support array/dict style thing, only flat
> names. That is, you need to name them when generating the HTML with
> something like a_1,a_2 then do the reverse thing when received the form
> data.
Incidentally, Formencode has a routine for packing and unpacking flat
dictionaries. It's in formencode.variabledecode, and it takes names
like a-1, a-2, etc. and turns them into lists, or more nested things
like person-1.address, person-1.city, etc. (becomes {'person':
[{'address': ..., 'city': ...}, ...]})
Ian