Re: Getting data post from input with multiple name

2009-04-27 Thread eli
Ok, I'm going to use string (like: items_{{ data.id }}) Thanks. regards. On 26 Kwi, 21:31, Malcolm Tredinnick wrote: > On Sun, 2009-04-26 at 10:20 -0700, eli wrote: > > Hi, > > > I have problem: > > In my template, I have some inputs with multiple name like: > > >

Re: Getting data post from input with multiple name

2009-04-26 Thread zayatzz
I think [] are not valid characters for attribute name: http://www.razzed.com/2009/01/30/valid-characters-in-attribute-names-in-htmlxml/ This should not be aproblem in your case though. Your problem is (as much as i understand) that element name in html and in your code just do not match. Alan

Re: Getting data post from input with multiple name

2009-04-26 Thread Malcolm Tredinnick
On Sun, 2009-04-26 at 10:20 -0700, eli wrote: > Hi, > > I have problem: > In my template, I have some inputs with multiple name like: > value="{{ data.name }}" /> > > How to get this data from request.POST in view method? > > I tried: > - request.POST.get('values', None) > -

Getting data post from input with multiple name

2009-04-26 Thread eli
Hi, I have problem: In my template, I have some inputs with multiple name like: How to get this data from request.POST in view method? I tried: - request.POST.get('values', None) - request.POST.get('values[]', None) but didn't wokr.. Thank You. regards.