See this message (from this group's archive): http://www.mail-archive.com/[email protected]/msg05489.html
On Wed, Apr 7, 2010 at 10:38 AM, Anton Khodakivskiy <[email protected]> wrote: > Hi all, > > Is it possible to read an array of values from the form post via web.input? > > For example if in the form there are the following inputs: > > <input type="text" name="var[0]" value="a0"/> > <input type="text" name="var[1]" value="a1"/> > > I would like to be able to read var as a dict of values: var = {'0':'a0', > '1':'a1'} > Similar functionality is available in many other frameworks. Is there > anything like this in web.py? > > Thanks > Anton > > -- > You received this message because you are subscribed to the Google Groups > "web.py" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/webpy?hl=en. > > -- Branko Vukelić Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
